mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Correct the type of the mouse down event
This commit is contained in:
@@ -2301,7 +2301,7 @@ class Widget(DOMNode):
|
||||
def _on_styles_updated(self) -> None:
|
||||
self._rich_style_cache.clear()
|
||||
|
||||
async def _on_mouse_down(self, event: events.MouseUp) -> None:
|
||||
async def _on_mouse_down(self, event: events.MouseDown) -> None:
|
||||
await self.broker_event("mouse.down", event)
|
||||
|
||||
async def _on_mouse_up(self, event: events.MouseUp) -> None:
|
||||
|
||||
Reference in New Issue
Block a user