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

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

This commit is contained in:
Andreas Kling 2021-10-13 22:22:30 +02:00
parent e590e17b8a
commit 6d433c99f4
2 changed files with 33 additions and 26 deletions

View file

@ -74,6 +74,8 @@ private:
void distribute_any_remaining_free_space(Box const& flex_container, Vector<FlexLine>&, float main_available_size);
void align_all_flex_items_along_the_cross_axis(Box const& flex_container, 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 {};