Fix vertical alignment of tooltip
This commit is contained in:
parent
01013ea372
commit
9451c6ca54
|
@ -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)))))
|
||||||
|
|
Loading…
Reference in New Issue