From b229ca95ce29eb9b70dc10ac79536788f0d90f9d Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 16 Apr 2021 08:44:38 -0400 Subject: node-2d: Fix vertical alignment of labels. --- starling/node-2d.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starling/node-2d.scm b/starling/node-2d.scm index 3bd10ab..9fdc578 100644 --- a/starling/node-2d.scm +++ b/starling/node-2d.scm @@ -809,7 +809,7 @@ (match (vertical-align label) ('bottom 0.0) ('top (height label)) - ('center (/ (height label) 2.0))))) + ('center (+ (/ (height label) 2.0) (font-descent (font label))))))) (define-method (refresh-label-size (label