Skip to content

Commit

Permalink
ComputeValues compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
gleblebedev committed Sep 30, 2023
1 parent b16790b commit e463ab5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/ElementDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ void ElementDocument::ProcessDefaultAction(Event& event)
if (key_identifier == Input::KI_LEFT || key_identifier == Input::KI_RIGHT || key_identifier == Input::KI_UP ||
key_identifier == Input::KI_DOWN)
{
SpatialSearchDirection direction;
SpatialSearchDirection direction {};
String propertyName;
switch (key_identifier)
{
Expand Down
6 changes: 6 additions & 0 deletions Source/Core/ElementStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,12 @@ PropertyIdSet ElementStyle::ComputeValues(Style::ComputedValues& values, const S
case PropertyId::FlexWrap:
case PropertyId::JustifyContent:
break;
// Navigation properties. Must be manually retrieved with 'GetProperty()'.
case PropertyId::NavUp:
case PropertyId::NavDown:
case PropertyId::NavLeft:
case PropertyId::NavRight:
break;
// Unhandled properties. Must be manually retrieved with 'GetProperty()'.
case PropertyId::FillImage:
case PropertyId::CaretColor:
Expand Down

0 comments on commit e463ab5

Please sign in to comment.