Skip to content
Snippets Groups Projects
Commit 3d940d14 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Fixed moving window crash in Windows.

parent 5af6a130
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ def create_context_window(w, h, callback):
root.set_position(*event.get_coords())
root.set_size(event.width, event.height)
overlay.set_size(event.width, event.height)
draw()
refresh()
def handle_key(win, event):
"""Handle key event. 'f' toggles fullscreen, 'q' exits the program, 'b'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment