Undim on button press rather than tmp value
This commit is contained in:
parent
1ed22e8aa8
commit
57346674df
2 changed files with 24 additions and 8 deletions
|
@ -68,7 +68,9 @@ class SenseStick:
|
|||
"""
|
||||
...
|
||||
@direction_up.setter
|
||||
def direction_up(self, value: Callable[[InputEvent], Any]) -> None: ...
|
||||
def direction_up(
|
||||
self, value: Callable[[InputEvent], Any] | Callable[[], Any]
|
||||
) -> None: ...
|
||||
@property
|
||||
def direction_down(self): # -> None:
|
||||
"""
|
||||
|
@ -80,7 +82,9 @@ class SenseStick:
|
|||
"""
|
||||
...
|
||||
@direction_down.setter
|
||||
def direction_down(self, value: Callable[[InputEvent], Any]) -> None: ...
|
||||
def direction_down(
|
||||
self, value: Callable[[InputEvent], Any] | Callable[[], Any]
|
||||
) -> None: ...
|
||||
@property
|
||||
def direction_left(self): # -> None:
|
||||
"""
|
||||
|
@ -92,7 +96,9 @@ class SenseStick:
|
|||
"""
|
||||
...
|
||||
@direction_left.setter
|
||||
def direction_left(self, value: Callable[[InputEvent], Any]) -> None: ...
|
||||
def direction_left(
|
||||
self, value: Callable[[InputEvent], Any] | Callable[[], Any]
|
||||
) -> None: ...
|
||||
@property
|
||||
def direction_right(self): # -> None:
|
||||
"""
|
||||
|
@ -104,7 +110,9 @@ class SenseStick:
|
|||
"""
|
||||
...
|
||||
@direction_right.setter
|
||||
def direction_right(self, value: Callable[[InputEvent], Any]) -> None: ...
|
||||
def direction_right(
|
||||
self, value: Callable[[InputEvent], Any] | Callable[[], Any]
|
||||
) -> None: ...
|
||||
@property
|
||||
def direction_middle(self): # -> None:
|
||||
"""
|
||||
|
@ -116,7 +124,9 @@ class SenseStick:
|
|||
"""
|
||||
...
|
||||
@direction_middle.setter
|
||||
def direction_middle(self, value: Callable[[InputEvent], Any]) -> None: ...
|
||||
def direction_middle(
|
||||
self, value: Callable[[InputEvent], Any] | Callable[[], Any]
|
||||
) -> None: ...
|
||||
@property
|
||||
def direction_any(self): # -> None:
|
||||
"""
|
||||
|
@ -129,4 +139,6 @@ class SenseStick:
|
|||
"""
|
||||
...
|
||||
@direction_any.setter
|
||||
def direction_any(self, value: Callable[[InputEvent], Any]) -> None: ...
|
||||
def direction_any(
|
||||
self, value: Callable[[InputEvent], Any] | Callable[[], Any]
|
||||
) -> None: ...
|
||||
|
|
Reference in a new issue