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

Stopped win32 plugins using the global DPI setting.

This commit is contained in:
jules 2013-09-22 09:33:49 +01:00
parent 9113a7d6ab
commit ea6099d16b

View file

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