ui.baseline-alignment: fix float shift on retina.
parent
879e7a0ff4
commit
43b541d11b
|
@ -92,7 +92,7 @@ PRIVATE>
|
||||||
[
|
[
|
||||||
dup ascent>>
|
dup ascent>>
|
||||||
[ ascent>> max-ascent swap - text-leading ]
|
[ ascent>> max-ascent swap - text-leading ]
|
||||||
[ height>> max-graphics-height swap - 2/ graphics-leading ] if +
|
[ height>> max-graphics-height swap - 2 /i graphics-leading ] if +
|
||||||
] map ;
|
] map ;
|
||||||
|
|
||||||
: measure-metrics ( children sizes -- ascent descent )
|
: measure-metrics ( children sizes -- ascent descent )
|
||||||
|
|
Loading…
Reference in New Issue