mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
Update _subsystem.py
This commit is contained in:
parent
92c189c9b0
commit
f61f55f905
@ -43,7 +43,10 @@ class UIV1Subsystem(babase.AppSubsystem):
|
|||||||
|
|
||||||
self._uiscale: babase.UIScale
|
self._uiscale: babase.UIScale
|
||||||
|
|
||||||
interfacetype = env['ui_scale']
|
interfacetype = babase.app.config.get('UI Scale', env['ui_scale'])
|
||||||
|
if interfacetype == 'auto':
|
||||||
|
interfacetype = env['ui_scale']
|
||||||
|
|
||||||
if interfacetype == 'large':
|
if interfacetype == 'large':
|
||||||
self._uiscale = babase.UIScale.LARGE
|
self._uiscale = babase.UIScale.LARGE
|
||||||
elif interfacetype == 'medium':
|
elif interfacetype == 'medium':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user