mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
kvui: block settings menu
This commit is contained in:
4
kvui.py
4
kvui.py
@@ -488,6 +488,10 @@ class GameManager(App):
|
|||||||
if hasattr(self, "energy_link_label"):
|
if hasattr(self, "energy_link_label"):
|
||||||
self.energy_link_label.text = f"EL: {Utils.format_SI_prefix(self.ctx.current_energy_link_value)}J"
|
self.energy_link_label.text = f"EL: {Utils.format_SI_prefix(self.ctx.current_energy_link_value)}J"
|
||||||
|
|
||||||
|
# default F1 keybind, opens a settings menu, that seems to break the layout engine once closed
|
||||||
|
def open_settings(self, *largs):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class LogtoUI(logging.Handler):
|
class LogtoUI(logging.Handler):
|
||||||
def __init__(self, on_log):
|
def __init__(self, on_log):
|
||||||
|
Reference in New Issue
Block a user