fix internal position adjustment for `pane%'
Closes PR 13038
This commit is contained in:
parent
f95f2fac54
commit
30da0f4bf4
|
@ -53,8 +53,12 @@
|
|||
;; Otherwise, does nothing.
|
||||
[set-size
|
||||
(lambda (x y width height)
|
||||
(set! x (+ x (send (area-parent) dx)))
|
||||
(set! y (+ y (send (area-parent) dy)))
|
||||
(set! x (if (= x -11111)
|
||||
(get-x)
|
||||
(+ x (send (area-parent) dx))))
|
||||
(set! y (if (= y -11111)
|
||||
(get-y)
|
||||
(+ y (send (area-parent) dy))))
|
||||
(unless (and (same-dimension? x (get-x))
|
||||
(same-dimension? y (get-y))
|
||||
(same-dimension? width (get-width))
|
||||
|
|
Loading…
Reference in New Issue
Block a user