When showing the frame automatically hide it on leave, otherwise

it gets annoying.
This commit is contained in:
Marco Pesenti Gritti 2006-10-18 00:57:05 +02:00
parent 03bca10376
commit 37e1bf6100

View File

@ -220,7 +220,8 @@ class Frame:
return
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')
def _enter_edge_cb(self, event_frame):