mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
X11: Remove isStandaloneApp check
This commit is contained in:
parent
254e03a435
commit
141b2d64cc
1 changed files with 1 additions and 1 deletions
|
|
@ -2653,7 +2653,7 @@ Array<Displays::Display> XWindowSystem::findDisplays (float masterScale) const
|
|||
+ ((static_cast<double> (crtc->height) * 25.4 * 0.5) / static_cast<double> (output->mm_height));
|
||||
|
||||
auto scale = DisplayHelpers::getDisplayScale (output->name, d.dpi);
|
||||
scale = (scale <= 0.1 || ! JUCEApplicationBase::isStandaloneApp()) ? 1.0 : scale;
|
||||
scale = scale <= 0.1 ? 1.0 : scale;
|
||||
|
||||
d.scale = masterScale * scale;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue