mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add magic comment. (#2010)
Related comment: https://github.com/Textualize/textual/pull/2003\#discussion_r1131081129 Related PR: #2003.
This commit is contained in:
committed by
GitHub
parent
503c03730e
commit
48dbe1244e
@@ -55,6 +55,7 @@ class Driver(ABC):
|
||||
and not event.button
|
||||
and self._last_move_event is not None
|
||||
):
|
||||
# Deduplicate self._down_buttons while preserving order.
|
||||
buttons = list(dict.fromkeys(self._down_buttons).keys())
|
||||
self._down_buttons.clear()
|
||||
move_event = self._last_move_event
|
||||
|
||||
Reference in New Issue
Block a user