diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-04-08 16:58:57 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-04-08 16:58:57 +0200 |
| commit | 8945064e3446626db8bfcc375bd77a64ea6dacc6 (patch) | |
| tree | 0258f25d0fe7e481b622d6494bf94a060f89b3c2 /lockscreen | |
| parent | 271b927b1ef91242db22c2eca5cfdbfa67e08e37 (diff) | |
LockScreenController: use direction to set the animation value
(bzr r3736.4.1)
Diffstat (limited to 'lockscreen')
| -rw-r--r-- | lockscreen/LockScreenController.cpp | 4 |
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](){ |
