summaryrefslogtreecommitdiff
path: root/lockscreen
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-04-08 16:58:57 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-04-08 16:58:57 +0200
commit8945064e3446626db8bfcc375bd77a64ea6dacc6 (patch)
tree0258f25d0fe7e481b622d6494bf94a060f89b3c2 /lockscreen
parent271b927b1ef91242db22c2eca5cfdbfa67e08e37 (diff)
LockScreenController: use direction to set the animation value
(bzr r3736.4.1)
Diffstat (limited to 'lockscreen')
-rw-r--r--lockscreen/LockScreenController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lockscreen/LockScreenController.cpp b/lockscreen/LockScreenController.cpp
index 6628a4f84..6d6f65c40 100644
--- a/lockscreen/LockScreenController.cpp
+++ b/lockscreen/LockScreenController.cpp
@@ -80,7 +80,7 @@ Controller::Controller(DBusManager::Ptr const& dbus_manager,
});
fade_windows_.clear();
- animation::SetValue(fade_windows_animator_, 0.0);
+ animation::SetValue(fade_windows_animator_, animation::Direction::BACKWARD);
}
});
@@ -274,7 +274,7 @@ void Controller::OnLockRequested()
});
fade_windows_.clear();
- animation::SetValue(fade_windows_animator_, 0.0);
+ animation::SetValue(fade_windows_animator_, animation::Direction::BACKWARD);
lockscreen_timeout_.reset(new glib::Timeout(10, [this](){