Browse Source

(Minor correction to last commit)

tags/2021-05-28
jules 11 years ago
parent
commit
0328a9e249
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      modules/juce_gui_basics/native/juce_mac_Windowing.mm

+ 2
- 3
modules/juce_gui_basics/native/juce_mac_Windowing.mm View File

@@ -383,12 +383,11 @@ static Desktop::Displays::Display getDummyScreen (const float masterScale)
Desktop::Displays::Display d;
d.isMain = true;
d.scale = masterScale;
d.dpi = 0;
d.userArea = d.totalArea = Rectangle<int> (0, 0, 1024, 800);
d.dpi = 96.0f;
d.userArea = d.totalArea = Rectangle<int> (1024, 800);
return d;
}
void Desktop::Displays::findDisplays (const float masterScale)
{
JUCE_AUTORELEASEPOOL


Loading…
Cancel
Save