fix pasteboard rubber-band drawing
svn: r14820
This commit is contained in:
parent
ef9ee828bf
commit
cee5d694ad
|
@ -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