fix pasteboard rubber-band drawing
svn: r14820 original commit: cee5d694ad4f35db3a40175f1c7532e59ffc40b5
This commit is contained in:
parent
9702e4e3b4
commit
e020e87698
|
@ -166,8 +166,8 @@
|
||||||
|
|
||||||
(define/private (rubber-band x y w h)
|
(define/private (rubber-band x y w h)
|
||||||
(when (and s-admin
|
(when (and s-admin
|
||||||
(positive? w)
|
(not (zero? w))
|
||||||
(positive? h))
|
(not (zero? h)))
|
||||||
(let-values ([(x w)
|
(let-values ([(x w)
|
||||||
(if (w . < . 0)
|
(if (w . < . 0)
|
||||||
(values (+ x w) (- w))
|
(values (+ x w) (- w))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user