screenShield: Animate the raising of the lock screen with the scroll wheel

A sudden transition to the lock screen is a bit jarring.
This commit is contained in:
Jasper St. Pierre 2012-09-05 14:51:30 -03:00
parent b37e02c90a
commit 43ba93a817

View File

@ -461,7 +461,7 @@ const ScreenShield = new Lang.Class({
// 7 standard scrolls to lift up // 7 standard scrolls to lift up
if (this._lockScreenScrollCounter > 35) { if (this._lockScreenScrollCounter > 35) {
this._ensureUnlockDialog(); this._ensureUnlockDialog();
this._hideLockScreen(0); this._hideLockScreen(true);
} }
return true; return true;