ui.baseline-alignment: fix float shift on retina.

db4
John Benediktsson 2012-12-17 11:43:05 -08:00
parent 879e7a0ff4
commit 43b541d11b
1 changed files with 1 additions and 1 deletions

View File

@ -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 )