Fix vertical alignment of tooltip

This commit is contained in:
Tony Garnock-Jones 2016-09-02 12:59:42 +01:00
parent 01013ea372
commit 9451c6ca54
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
(react (assert #:when (touching?) (react (assert #:when (touching?)
(outbound (simple-sprite -10 (outbound (simple-sprite -10
(pos) (pos)
(+ (y) (* 1/2 h)) (+ (y) (* 1/2 h) (- (* 1/2 (image-height label))))
(image-width label) (image-width label)
(image-height label) (image-height label)
label))))) label)))))