mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Avoid warning in Release mode in View::updateView()
This commit is contained in:
parent
f7154aa0d8
commit
9c09a55487
@ -179,6 +179,7 @@ void View::updateView(const bool restoreScrollPos)
|
||||
}
|
||||
|
||||
if (Widget* child = attachedWidget()) {
|
||||
(void)child;
|
||||
updateAttachedWidgetBounds(viewScroll());
|
||||
ASSERT(child->bounds().w >= viewportBounds().w);
|
||||
ASSERT(child->bounds().h >= viewportBounds().h);
|
||||
|
Loading…
Reference in New Issue
Block a user