random testing found bugs (please include in release)
svn: r17792
This commit is contained in:
parent
5f9a774880
commit
c0cea48170
|
@ -367,7 +367,7 @@
|
|||
(cond
|
||||
[(overlay? shape)
|
||||
(let ([top-shape (rotate-normalized-shape angle (overlay-top shape))]
|
||||
[bottom-shape (rotate-simple angle (overlay-bottom shape))])
|
||||
[bottom-shape (rotate-cropped-simple angle (overlay-bottom shape))])
|
||||
(make-overlay top-shape bottom-shape))]
|
||||
[else
|
||||
(rotate-cropped-simple angle shape)]))
|
||||
|
@ -430,7 +430,7 @@
|
|||
(cond
|
||||
[(overlay? shape)
|
||||
(let ([top-ltrb (normalized-shape-bb (overlay-top shape))]
|
||||
[bottom-ltrb (simple-bb (overlay-bottom shape))])
|
||||
[bottom-ltrb (cropped-simple-bb (overlay-bottom shape))])
|
||||
(union-ltrb top-ltrb bottom-ltrb))]
|
||||
[else
|
||||
(cropped-simple-bb shape)]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user