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:
parent
9113a7d6ab
commit
ea6099d16b
1 changed files with 2 additions and 1 deletions
|
|
@ -181,7 +181,8 @@ static double getDPI()
|
|||
|
||||
double Desktop::getDefaultMasterScale()
|
||||
{
|
||||
return getDPI() / 96.0;
|
||||
return JUCEApplicationBase::isStandaloneApp() ? getDPI() / 96.0
|
||||
: 1.0;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue