fix coordinate computation for the new, big definitions/interactions labels
closes PR 12944
This commit is contained in:
parent
9d6f0e96ba
commit
203fbf7950
|
@ -1802,8 +1802,8 @@
|
|||
(define fore (send dc get-text-foreground))
|
||||
(send dc set-font defs/ints-font)
|
||||
(define-values (tw th _1 _2) (send dc get-text-extent id))
|
||||
(define tx (- (unbox bw) tw))
|
||||
(define ty (- (unbox bh) th))
|
||||
(define tx (+ (unbox bx) (- (unbox bw) tw)))
|
||||
(define ty (+ (unbox by) (- (unbox bh) th)))
|
||||
(when (and (or (< left tx right)
|
||||
(< left (+ tx tw) right))
|
||||
(or (< top ty bottom)
|
||||
|
|
Loading…
Reference in New Issue
Block a user