[gnome-shell/wip/paging-release: 6/93] AppDisplay: add comment to page swicth treshold
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/paging-release: 6/93] AppDisplay: add comment to page swicth treshold
- Date: Mon, 12 Aug 2013 17:12:17 +0000 (UTC)
commit a9ca350f1b46bbb1528ab74ed7dbacf7f32bccf7
Author: Carlos Soriano <carlos soriano89 gmail com>
Date: Mon Aug 12 17:01:19 2013 +0200
AppDisplay: add comment to page swicth treshold
js/ui/appDisplay.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index aed4c72..5f13d8f 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -36,7 +36,10 @@ const INACTIVE_GRID_OPACITY = 77;
const FOLDER_SUBICON_FRACTION = .4;
const MAX_APPS_PAGES = 20;
-
+const PAGE_SWITCH_TIME = 0.3;
+//fraction of page height the finger or mouse must reach before
+//change page
+const PAGE_SWITCH_TRESHOLD = 0.2;
// Recursively load a GMenuTreeDirectory; we could put this in ShellAppSystem too
function _loadCategory(dir, list) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]