upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)
This commit is contained in:
@ -565,7 +565,7 @@ bool ResizableWindow::restoreWindowStateFromString (const String& s)
|
||||
|
||||
if (onScreenArea.getWidth() * onScreenArea.getHeight() < 32 * 32)
|
||||
{
|
||||
auto screen = desktop.getDisplays().getDisplayContaining (newPos.getCentre()).userArea;
|
||||
auto screen = desktop.getDisplays().findDisplayForRect (newPos).userArea;
|
||||
|
||||
newPos.setSize (jmin (newPos.getWidth(), screen.getWidth()),
|
||||
jmin (newPos.getHeight(), screen.getHeight()));
|
||||
|
Reference in New Issue
Block a user