mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux: Return 1.0 for GNOME scaling-factor if it hasn't been set
This commit is contained in:
parent
246ab9f129
commit
be134d9185
1 changed files with 2 additions and 0 deletions
|
|
@ -958,6 +958,8 @@ static double getScaleForDisplay (const String& name, double dpi)
|
|||
|
||||
if (scaleFactor > 0.0)
|
||||
return scaleFactor;
|
||||
|
||||
return 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue