1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibWeb: Rename GridTrackSizedConstraints

In order to avoid naming conflicts with the many trial-and-error name
changes going on in the GridTrackSize file, rename this to a unique name
that is unlikely to be troublesome.
This commit is contained in:
martinfalisse 2022-10-30 12:53:49 +01:00 committed by Andreas Kling
parent dc9f8218a9
commit 9441515312

View file

@ -26,7 +26,7 @@ private:
bool is_auto_positioned_column(CSS::GridTrackPlacement const&, CSS::GridTrackPlacement const&) const;
bool is_auto_positioned_track(CSS::GridTrackPlacement const&, CSS::GridTrackPlacement const&) const;
struct GridTrack {
struct GridTrackSizeConstraints {
CSS::GridTrackSize min_track_sizing_function;
CSS::GridTrackSize max_track_sizing_function;
float base_size { 0 };
@ -35,8 +35,8 @@ private:
float planned_increase { 0 };
};
Vector<GridTrack> m_grid_rows;
Vector<GridTrack> m_grid_columns;
Vector<GridTrackSizeConstraints> m_grid_rows;
Vector<GridTrackSizeConstraints> m_grid_columns;
float get_free_space_x(Box const&);
float get_free_space_y(Box const&);