mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
Ignore linux scale factor if it is ten or larger
This commit is contained in:
parent
fc8c6283c3
commit
1a973a2faa
1 changed files with 4 additions and 1 deletions
|
|
@ -1214,7 +1214,10 @@ private:
|
|||
e.dpi = ((static_cast<double> (crtc->width) * 25.4 * 0.5) / static_cast<double> (output->mm_width))
|
||||
+ ((static_cast<double> (crtc->height) * 25.4 * 0.5) / static_cast<double> (output->mm_height));
|
||||
|
||||
e.scale = masterScale * getScaleForDisplay (output->name, e);
|
||||
double scale = getScaleForDisplay (output->name, e);
|
||||
scale = (scale <= 0.1 ? 1.0 : scale);
|
||||
|
||||
e.scale = masterScale * scale;
|
||||
|
||||
infos.add (e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue