3
0
mirror of https://github.com/britzl/monarch.git synced 2025-09-27 10:02:21 +02:00

Added fade in/out transition

This commit is contained in:
Björn Ritzl
2018-07-13 06:54:26 +02:00
parent 07eacc7a5f
commit bc4260d72a
3 changed files with 32 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ function init(self)
gui.set_text(gui.get_node("timestamp"), os.date())
self.transition = transitions.in_right_out_left(gui.get_node("root"), 0.6, 0)
self.transition = transitions.fade_in_out(gui.get_node("root"), 0.6, 0)
end
function on_input(self, action_id, action)