When showing the frame automatically hide it on leave, otherwise
it gets annoying.
This commit is contained in:
parent
03bca10376
commit
37e1bf6100
@ -220,7 +220,8 @@ class Frame:
|
|||||||
return
|
return
|
||||||
|
|
||||||
if not self._menu_shell.is_active() and \
|
if not self._menu_shell.is_active() and \
|
||||||
self._mode == Frame.HIDE_ON_LEAVE:
|
self._mode == Frame.HIDE_ON_LEAVE or \
|
||||||
|
self._mode == Frame.AUTOMATIC:
|
||||||
self._timeline.play('before_slide_out', 'slide_out')
|
self._timeline.play('before_slide_out', 'slide_out')
|
||||||
|
|
||||||
def _enter_edge_cb(self, event_frame):
|
def _enter_edge_cb(self, event_frame):
|
||||||
|
Loading…
Reference in New Issue
Block a user