From a29ceaa8ec1bfef19204e5db70a0aa504615ed30 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 3 Aug 2012 17:44:54 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index fcc079d03..3844a0018 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;