comparison cagou/kv/menu.kv @ 168:397f2fb67aab

core (menu): animate transfer menu opening/closing + close it on [ESC]/back
author Goffi <goffi@goffi.org>
date Sat, 28 Apr 2018 16:22:50 +0200
parents 37220459e93d
children 9d7a9866b495
comparison
equal deleted inserted replaced
167:ffef21fd97a2 168:397f2fb67aab
37 cancel_handler_widget: self.parent 37 cancel_handler_widget: self.parent
38 38
39 <TransferMenu>: 39 <TransferMenu>:
40 items_layout: items_layout 40 items_layout: items_layout
41 orientation: "vertical" 41 orientation: "vertical"
42 pos_hint: {"top": 0.5}
43 size_hint: 1, 0.5 42 size_hint: 1, 0.5
44 canvas.before: 43 canvas.before:
45 Color: 44 Color:
46 rgba: 0, 0, 0, 1 45 rgba: 0, 0, 0, 1
47 Rectangle: 46 Rectangle: