Files
UXP-Fixed/layout/generic
wolfbeast b45f5c435e Issue #1485 - Fix incorrect grid cell sizing to min/max space.
There were actually two separate logical errors in this method:

The first part is that "origSizes.isSome()" is simply a bogus
requirement for applying min/max-sizes here. I'm still keeping
the optimization of not needlessly copying the mSizes array
(as originally intended) since it's a quite common case.

The second bug is that min/max-sizes were only applied under
the "if (fr != 0.0f)" block. This is bogus since the calculated
'fr' value depends on 'aAvailableSize' which might change by
applying min/max-sizes and thus 'fr' could become non-zero in
the second round.
To fix, this patch just moves "applyMinMax" block out one level.
2020-04-14 13:06:11 +02:00
..
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00
2018-02-02 04:16:08 -05:00