oops, comitted bad changes to yutani_mainloop re: menus

This commit is contained in:
K. Lange 2018-09-25 17:18:36 +09:00
parent 3afb51a951
commit a7616a38a5
1 changed files with 0 additions and 2 deletions

View File

@ -17,7 +17,6 @@ def handle_event(msg):
if window.root and not window.root.menus and window.root.focused:
window.root.focused = 0
window.root.draw()
if False: pass
elif msg.focused == 0 and 'menus' in dir(window) and window.menus:
window.focused = 1
window.draw()
@ -47,7 +46,6 @@ def handle_event(msg):
else:
window.root.hovered_menu = None
window.mouse_action(msg)
if False: pass
elif 'mouse_event' in dir(window):
window.mouse_event(msg)
msg.free()