Browse Source

Stopped win32 plugins using the global DPI setting.

tags/2021-05-28
jules 12 years ago
parent
commit
ea6099d16b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_gui_basics/native/juce_win32_Windowing.cpp

+ 2
- 1
modules/juce_gui_basics/native/juce_win32_Windowing.cpp View File

@@ -181,7 +181,8 @@ static double getDPI()
double Desktop::getDefaultMasterScale()
{
return getDPI() / 96.0;
return JUCEApplicationBase::isStandaloneApp() ? getDPI() / 96.0
: 1.0;
}
//==============================================================================


Loading…
Cancel
Save