summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-07-12 18:11:21 +0300
committerIdan Horowitz <idan.horowitz@gmail.com>2022-07-12 18:11:21 +0300
commite39514721e48b5f5d39ce06a6afa5ef82676b2ba (patch)
treef9a28d83003ab009fa9b091a8131e63792817819 /Userland
parentc70359ac043fed9dfd5d863890618385ae37a6b2 (diff)
downloadserenity-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.cpp1
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;
}