[gnome-shell] ScreenShield: lower the autodrag threshold to 10%



commit a29ceaa8ec1bfef19204e5db70a0aa504615ed30
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Aug 3 17:44:54 2012 +0200

    ScreenShield: lower the autodrag threshold to 10%
    
    The threshold is there just to ensure that the user is opening
    the curtain on purpose. Requiring 40% is too much for that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681143

 js/ui/screenShield.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index fcc079d..3844a00 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -20,7 +20,7 @@ const LOCK_ENABLED_KEY = 'lock-enabled';
 const CURTAIN_SLIDE_TIME = 1.2;
 // fraction of screen height the arrow must reach before completing
 // the slide up automatically
-const ARROW_DRAG_TRESHOLD = 0.4;
+const ARROW_DRAG_TRESHOLD = 0.1;
 
 const SUMMARY_ICON_SIZE = 48;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]