mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix expandable windows with user data doesn't show correctly
Before this fix when we clicked on user data icon (to expand the window and show the user data), the expanded window were displayed incorrectly (some parts black, and other with an incorrent widget size).
This commit is contained in:
parent
de68fddbe7
commit
3093eda958
@ -367,6 +367,7 @@ void Window::expandWindow(const gfx::Size& size)
|
||||
gfx::Rect frame = nativeWindow->frame();
|
||||
frame.setSize(size * scale);
|
||||
nativeWindow->setFrame(frame);
|
||||
setBounds(gfx::Rect(bounds().origin(), size));
|
||||
|
||||
layout();
|
||||
invalidate();
|
||||
|
Loading…
Reference in New Issue
Block a user