ui.gadgets.tracks: don't convert dims to floats in track-pref-dims-2.

master
John Benediktsson 2020-05-17 20:47:22 -07:00
parent eb7aad96c0
commit 5d4a0b4f00
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ M: track layout* ( track -- ) dup track-layout pack-layout ;
[
[ children>> pref-dims ] [ normalized-sizes ] bi
[ dup { 0 f } member? [ 2drop { 0 0 } ] [ v/n ] if ] 2map
max-dims [ >fixnum ] map
max-dims
] [ gap-dim ] bi v+ ;
M: track pref-dim* ( gadget -- dim )