Skip to content

Commit

Permalink
simplify PropertyParseKeyword
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Jan 21, 2024
1 parent e8cab33 commit 0529b2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/ant.rmlui/src/css/StyleSheetSpecification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,13 @@ static constexpr auto PropertyDefinitions = MakeEnumArray<PropertyId, PropertyDe
}},

{ PropertyId::AlignContent, {
PropertyParseKeyword<"auto", "flex-start", "center", "flex-end", "stretch", "baseline", "space-between", "space-around", "space-evenly">,
PropertyParseKeyword<YGAlign>,
}},
{ PropertyId::AlignItems, {
PropertyParseKeyword<"auto", "flex-start", "center", "flex-end", "stretch", "baseline", "space-between", "space-around">,
PropertyParseKeyword<YGAlign>,
}},
{ PropertyId::AlignSelf, {
PropertyParseKeyword<"auto", "flex-start", "center", "flex-end", "stretch", "baseline", "space-between", "space-around">,
PropertyParseKeyword<YGAlign>,
}},
{ PropertyId::Direction, {
PropertyParseKeyword<YGDirection>,
Expand Down

0 comments on commit 0529b2d

Please sign in to comment.