We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc0552 commit d5c2977Copy full SHA for d5c2977
1 file changed
yoga/algorithm/grid/GridTrack.h
@@ -11,11 +11,11 @@
11
12
namespace facebook::yoga {
13
14
-// Represents a resolved grid track size during layout computation.
15
-// Includes variables used by the track sizing algorithm.
16
// https://www.w3.org/TR/css-grid-1/#algo-track-sizing
17
struct GridTrack {
18
- GridTrackSize trackSize;
+ // Sizing functions for this track, immutable after construction
+ const GridTrackSize trackSize;
+ // Mutable state used by the track sizing algorithm
19
float baseSize = 0.0f;
20
float growthLimit = 0.0f;
21
bool infinitelyGrowable = false;
0 commit comments