Increase timeout for nicer animation
This commit is contained in:
parent
ef0de497a5
commit
0df8d01dce
@ -126,11 +126,11 @@ class WindowManager:
|
|||||||
|
|
||||||
def slide_window_in(self):
|
def slide_window_in(self):
|
||||||
self._sliding_pos = 0
|
self._sliding_pos = 0
|
||||||
gobject.timeout_add(5, self.__slide_in_timeout_cb)
|
gobject.timeout_add(50, self.__slide_in_timeout_cb)
|
||||||
|
|
||||||
def slide_window_out(self):
|
def slide_window_out(self):
|
||||||
self._sliding_pos = 1.0
|
self._sliding_pos = 1.0
|
||||||
gobject.timeout_add(5, self.__slide_out_timeout_cb)
|
gobject.timeout_add(50, self.__slide_out_timeout_cb)
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
self._window.show()
|
self._window.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user