Merge pull request #173 from AdrianDeAnda/fix-typos-1

Fix couple of typos
This commit is contained in:
Will McGugan
2022-01-02 16:06:45 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -394,7 +394,7 @@ class App(MessagePump):
async def on_event(self, event: events.Event) -> None:
# Handle input events that haven't been forwarded
# If the event has been forwaded it may have bubbled up back to the App
# If the event has been forwarded it may have bubbled up back to the App
if isinstance(event, events.InputEvent) and not event.is_forwarded:
if isinstance(event, events.MouseEvent):
# Record current mouse position on App

View File

@@ -237,7 +237,7 @@ class MouseEvent(InputEvent, bubble=True):
Args:
sender (MessageTarget): The sender of the event.
x (int): The relative x coordinate.
y (int): The relative y cootdinate.
y (int): The relative y coordinate.
delta_x (int): Change in x since the last message.
delta_y (int): Change in y since the last message.
button (int): Indexed of the pressed button.