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

ResizableWindow: Always set resizable flag, regardless of whether the window has a title bar

This commit is contained in:
reuk 2024-05-28 19:47:23 +01:00
parent 4201b76d15
commit 8a09ac37cb
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -79,7 +79,7 @@ int ResizableWindow::getDesktopWindowStyleFlags() const
{
int styleFlags = TopLevelWindow::getDesktopWindowStyleFlags();
if (isResizable() && (styleFlags & ComponentPeer::windowHasTitleBar) != 0)
if (isResizable())
styleFlags |= ComponentPeer::windowIsResizable;
return styleFlags;