1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

ResizableWindow: Always recreate desktop window when updating resizability

Windows without titlebars may now be resizable, and therefore must be
recreated if resizing is enabled/disabled.
This commit is contained in:
reuk 2024-05-23 13:25:41 +01:00
parent 66a29f9762
commit e12a1a75ac
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -284,7 +284,7 @@ void ResizableWindow::setResizable (const bool shouldBeResizable,
resizableBorder.reset();
}
if (isUsingNativeTitleBar())
if (isOnDesktop())
recreateDesktopWindow();
childBoundsChanged (contentComponent);