.
original commit: 6eb0df05144dfb78c6994b38bf871a787bebebef
This commit is contained in:
parent
cfc3abbd67
commit
e47b0f391c
|
@ -263,13 +263,12 @@
|
|||
[union (union-rects rects)]
|
||||
[invalidate-rect
|
||||
(lambda (rect)
|
||||
(time
|
||||
(invalidate-bitmap-cache (rect-left rect)
|
||||
(rect-top rect)
|
||||
(- (rect-right rect)
|
||||
(rect-left rect))
|
||||
(- (rect-bottom rect)
|
||||
(rect-top rect)))))])
|
||||
(invalidate-bitmap-cache (rect-left rect)
|
||||
(rect-top rect)
|
||||
(- (rect-right rect)
|
||||
(rect-left rect))
|
||||
(- (rect-bottom rect)
|
||||
(rect-top rect))))])
|
||||
(cond
|
||||
[(< (rect-area union)
|
||||
(apply + (map (lambda (x) (rect-area x)) rects)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user