diff options
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/actions/interrupt_wait.py | 2 | ||||
-rw-r--r-- | helpers/key.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/helpers/actions/interrupt_wait.py b/helpers/actions/interrupt_wait.py index 36766a2..8f465f0 100644 --- a/helpers/actions/interrupt_wait.py +++ b/helpers/actions/interrupt_wait.py | |||
@@ -1,4 +1,4 @@ | |||
1 | def run(action, wait_id=None): | 1 | def run(action, wait_id=None, **kwargs): |
2 | action.mapping.interrupt_wait(wait_id) | 2 | action.mapping.interrupt_wait(wait_id) |
3 | 3 | ||
4 | def description(action, wait_id=None, **kwargs): | 4 | def description(action, wait_id=None, **kwargs): |
diff --git a/helpers/key.py b/helpers/key.py index b5c1af9..113cf8e 100644 --- a/helpers/key.py +++ b/helpers/key.py | |||
@@ -124,6 +124,8 @@ class Key(ButtonBehavior, Widget): | |||
124 | return [1, 1, 1, 1] | 124 | return [1, 1, 1, 1] |
125 | elif self.is_loaded_protecting_repeat(): | 125 | elif self.is_loaded_protecting_repeat(): |
126 | return [*self.custom_color, 100/255] | 126 | return [*self.custom_color, 100/255] |
127 | elif self.is_loaded_running(): | ||
128 | return [*self.custom_color, 100/255] | ||
127 | elif self.is_loaded(allow_substates=True): | 129 | elif self.is_loaded(allow_substates=True): |
128 | return [*self.custom_color, 1] | 130 | return [*self.custom_color, 1] |
129 | elif self.is_failed(): | 131 | elif self.is_failed(): |