1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:17:35 +00:00

LibWeb: Move FFC layout algorithm step 16 to a separate function

This commit is contained in:
Andreas Kling 2021-10-13 22:25:39 +02:00
parent f401794d23
commit 9359df4be9
2 changed files with 18 additions and 10 deletions

View file

@ -78,6 +78,8 @@ private:
void determine_flex_container_used_cross_size(Box& flex_container, Vector<FlexLine> const&, float cross_min_size, float cross_max_size);
void align_all_flex_lines(Vector<FlexLine>&);
bool is_row_layout() const { return m_flex_direction == CSS::FlexDirection::Row || m_flex_direction == CSS::FlexDirection::RowReverse; }
CSS::FlexDirection m_flex_direction {};