fix tooltip placement in online check syntax (only affects mac os x)
This commit is contained in:
parent
a40f288e48
commit
e7197c4129
|
@ -1070,9 +1070,12 @@ If the namespace does not, they are colored the unbound color.
|
|||
(send tooltip-frame set-tooltip
|
||||
(sort (set->list strings) string<=?))
|
||||
(set! tooltips-in-sync-with-cursor-eles? #t)
|
||||
(if (and l t r b)
|
||||
(send tooltip-frame show-over l t (- r l) (- b t))
|
||||
(send tooltip-frame show #f))]
|
||||
(cond
|
||||
[(and l t r b)
|
||||
(define-values (dx dy) (get-display-left-top-inset))
|
||||
(send tooltip-frame show-over (- l dx) (- t dy) (- r l) (- b t))]
|
||||
[else
|
||||
(send tooltip-frame show #f)])]
|
||||
[else
|
||||
(define-values (tl tt tr tb) (tooltip-info->ltrb (car tooltip-infos)))
|
||||
(unless (and tl tt tr tb)
|
||||
|
|
Loading…
Reference in New Issue
Block a user