mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +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);
|
||||
|
||||
Rect cpos;
|
||||
if (view) {
|
||||
if (view)
|
||||
cpos = static_cast<View*>(view)->viewportBounds();
|
||||
}
|
||||
else
|
||||
cpos = manager->childrenBounds();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user