1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

LibWeb: Add missing break to avoid fallthrough in FlexFormattingContext

This silences a Clang warning.
This commit is contained in:
Idan Horowitz 2022-07-12 18:11:21 +03:00
parent c70359ac04
commit e39514721e

View file

@ -1253,6 +1253,7 @@ void FlexFormattingContext::align_all_flex_items_along_the_cross_axis()
break;
case CSS::AlignItems::Center:
flex_item->cross_offset = 0 - (flex_item->cross_size / 2.0f);
break;
default:
break;
}