rework of update mechanism and noaction message support for faster clicks on modal
This commit is contained in:
@@ -39,6 +39,9 @@ class Message:
|
||||
|
||||
def clear_args(self):
|
||||
self._args = []
|
||||
|
||||
def no_action(self):
|
||||
return False
|
||||
|
||||
|
||||
def msg(message_class, *params):
|
||||
@@ -49,5 +52,5 @@ def msg(message_class, *params):
|
||||
return
|
||||
|
||||
message.on_event(event)
|
||||
update.schedule(message)
|
||||
update.update_model(message)
|
||||
return callback
|
||||
|
||||
Reference in New Issue
Block a user