Correct the type of the mouse down event

This commit is contained in:
Dave Pearson
2022-11-26 16:48:38 +00:00
parent 6bd652e240
commit ec227dbf10

View File

@@ -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: