mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
UI: no longer close Clients on escape key press
This commit is contained in:
1
kvui.py
1
kvui.py
@@ -150,4 +150,5 @@ class KivyJSONtoTextParser(JSONtoTextParser):
|
||||
ExceptionManager.add_handler(E())
|
||||
|
||||
Config.set("input", "mouse", "mouse,disable_multitouch")
|
||||
Config.set('kivy', 'exit_on_escape', '0')
|
||||
Builder.load_file(Utils.local_path("data", "client.kv"))
|
||||
|
@@ -176,7 +176,7 @@ class World(metaclass=AutoWorldRegister):
|
||||
Warning: this may be called with self.world = None, for example by MultiServer"""
|
||||
raise NotImplementedError
|
||||
|
||||
# following methods should not need to be overriden.
|
||||
# following methods should not need to be overridden.
|
||||
def collect(self, state: CollectionState, item: Item) -> bool:
|
||||
name = self.collect_item(state, item)
|
||||
if name:
|
||||
|
Reference in New Issue
Block a user