mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
devicescale: Ignore the base scale
The window might be too bit when the base scale is 2. Updates #1307 Updates #1350
This commit is contained in:
parent
5f3d6dbc19
commit
632b985448
@ -119,8 +119,9 @@ func cinnamonScaleFromXML() (float64, error) {
|
|||||||
}
|
}
|
||||||
for _, v := range c.Output {
|
for _, v := range c.Output {
|
||||||
// TODO: Get the monitor at the specified position.
|
// TODO: Get the monitor at the specified position.
|
||||||
|
// TODO: Consider the base scale?
|
||||||
if v.Primary && v.Scale != 0.0 {
|
if v.Primary && v.Scale != 0.0 {
|
||||||
return c.BaseScale * v.Scale, nil
|
return v.Scale, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user