mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 03:52:11 +08:00
ui: only auto scale on PC if SCALE env not set (#36455)
only use auto scale if SCALE env not set
This commit is contained in:
@@ -141,7 +141,7 @@ class GuiApplication:
|
||||
self._width = width
|
||||
self._height = height
|
||||
|
||||
if PC and SCALE == 1.0:
|
||||
if PC and os.getenv("SCALE") is None:
|
||||
self._scale = self._calculate_auto_scale()
|
||||
else:
|
||||
self._scale = SCALE
|
||||
|
||||
Reference in New Issue
Block a user