mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Minor change
This commit is contained in:
parent
dcf4f70a73
commit
e3dc8fa3a6
@ -801,9 +801,8 @@ void Widget::getDrawableRegion(gfx::Region& region, DrawableRegionFlags flags)
|
|||||||
view = View::getView(manager);
|
view = View::getView(manager);
|
||||||
|
|
||||||
Rect cpos;
|
Rect cpos;
|
||||||
if (view) {
|
if (view)
|
||||||
cpos = static_cast<View*>(view)->viewportBounds();
|
cpos = static_cast<View*>(view)->viewportBounds();
|
||||||
}
|
|
||||||
else
|
else
|
||||||
cpos = manager->childrenBounds();
|
cpos = manager->childrenBounds();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user