mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 22:18:30 +00:00
Fix Graphics::fillAreaBetweenRects()
This commit is contained in:
parent
be13633d44
commit
6edf02765a
@ -115,7 +115,7 @@ void Graphics::fillAreaBetweenRects(ui::Color color,
|
||||
const gfx::Rect& outer, const gfx::Rect& inner)
|
||||
{
|
||||
if (!outer.intersects(inner))
|
||||
fillRect(color, inner);
|
||||
fillRect(color, outer);
|
||||
else {
|
||||
gfx::Region rgn(outer);
|
||||
rgn.createSubtraction(rgn, gfx::Region(inner));
|
||||
|
Loading…
Reference in New Issue
Block a user