...
original commit: 1da56edf3e0ec7342adc10407c83e4b698fc7707
This commit is contained in:
parent
8f53a0ad16
commit
4e263e7d8f
|
@ -74,7 +74,11 @@
|
||||||
(cond
|
(cond
|
||||||
[(null? rectangles)
|
[(null? rectangles)
|
||||||
(when left
|
(when left
|
||||||
(invalidate-bitmap-cache left top (- right left) (- bottom top)))]
|
(let ([width (- right left)]
|
||||||
|
[height (- bottom top)])
|
||||||
|
(when (and (> width 0)
|
||||||
|
(> height 0))
|
||||||
|
(invalidate-bitmap-cache left top width height))))]
|
||||||
[else (let* ([r (car rectangles)]
|
[else (let* ([r (car rectangles)]
|
||||||
|
|
||||||
[rleft (rectangle-left r)]
|
[rleft (rectangle-left r)]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user