kivy: use on_state instead of on_release
This commit is contained in:
parent
58a9fa0ad5
commit
96b66b7e4f
@ -238,7 +238,7 @@
|
||||
padding: dp(12)
|
||||
spacing: dp(5)
|
||||
screen: None
|
||||
on_release:
|
||||
on_state:
|
||||
self.screen.show_menu(args[0]) if self.state == 'down' else self.screen.hide_menu()
|
||||
canvas.before:
|
||||
Color:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user