Skip to content

Commit

Permalink
WindowConfig: rename files_dropped function to files_dropped_event to…
Browse files Browse the repository at this point in the history
… fit with the getattr called in assign_event_callbacks.
  • Loading branch information
dominoplayer84 authored and cma-frontmatec committed Nov 16, 2023
1 parent f527bc4 commit 6dc712b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moderngl_window/context/base/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ def resize(self, width: int, height: int):
def close(self):
"""Called when the window is closed"""

def files_dropped(self, x: int, y: int, paths: List[str]):
def files_dropped_event(self, x: int, y: int, paths: List[str]):
"""
Called when files dropped onto the window
Expand Down

0 comments on commit 6dc712b

Please sign in to comment.