diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-07-12 18:11:21 +0300 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-07-12 18:11:21 +0300 |
commit | e39514721e48b5f5d39ce06a6afa5ef82676b2ba (patch) | |
tree | f9a28d83003ab009fa9b091a8131e63792817819 /Userland | |
parent | c70359ac043fed9dfd5d863890618385ae37a6b2 (diff) | |
download | serenity-e39514721e48b5f5d39ce06a6afa5ef82676b2ba.zip |
LibWeb: Add missing break to avoid fallthrough in FlexFormattingContext
This silences a Clang warning.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp index 62536c2da7..eeaf78ad5c 100644 --- a/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/FlexFormattingContext.cpp @@ -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; } |