mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-04 22:43:17 +08:00
Fixing unnoticed stuff.
This commit is contained in:
parent
603d5bf6bb
commit
88b840f598
@ -109,6 +109,9 @@ class ConfigNumberEdit:
|
|||||||
self._value = bui.app.config.resolve(configkey)
|
self._value = bui.app.config.resolve(configkey)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
self._value = bui.app.config.get(configkey, fallback_value)
|
self._value = bui.app.config.get(configkey, fallback_value)
|
||||||
|
self._value = (self._minval if self._minval > self._value else
|
||||||
|
self._maxval if self._maxval < self._value else
|
||||||
|
self._value)
|
||||||
self._as_percent = as_percent
|
self._as_percent = as_percent
|
||||||
self._f = f
|
self._f = f
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user