mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Replaced deprecated Displays methods
This commit is contained in:
parent
c21241549b
commit
b7e28541ca
30 changed files with 51 additions and 51 deletions
|
|
@ -510,7 +510,7 @@ public:
|
|||
soundNames = purchases.getVoiceNames();
|
||||
|
||||
#if JUCE_ANDROID || JUCE_IOS
|
||||
auto screenBounds = Desktop::getInstance().getDisplays().getMainDisplay().userArea;
|
||||
auto screenBounds = Desktop::getInstance().getDisplays().getPrimaryDisplay()->userArea;
|
||||
setSize (screenBounds.getWidth(), screenBounds.getHeight());
|
||||
#else
|
||||
setSize (800, 600);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue