mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
fix squishing
This commit is contained in:
parent
c42b5ddbc2
commit
b61d4664fd
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ AxisLayout::Row* AxisLayout::fitInRow(
|
|||
scale -= .002f;
|
||||
}
|
||||
else {
|
||||
squish = available.axisLength / (axisUnsquishedLength + .01f) * squish;
|
||||
squish = available.axisLength / axisUnsquishedLength;
|
||||
}
|
||||
fit(res);
|
||||
// Avoid infinite loops
|
||||
|
|
Loading…
Reference in a new issue