summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-26 05:30:53 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-26 05:30:53 +0200
commitf2a1bfdd8efc5612efa98b265ec983154823108a (patch)
treea6cd7fd52b0c94b5984937a88e59f9b45e95eb20 /components/config.ts
parenteef204000abc79c9a83f3ce268f051dcfff6bf7d (diff)
added buggy mouse action switcher
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts28
1 files changed, 10 insertions, 18 deletions
diff --git a/components/config.ts b/components/config.ts
index e7a51e2..a60c626 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -49,25 +49,17 @@ export const initialFilter = {
date: [],
}
+// 0: never
+// 1: hover
+// 2: click
+// 3: doubleclick
+// 4: rightclick
export const initialMouse = {
- hover: {
- highlight: true,
- select: false,
- follow: false,
- local: false,
- },
- click: {
- highlight: true,
- select: false,
- follow: true,
- local: true,
- },
- doubleClick: {
- highlight: true,
- select: false,
- follow: false,
- local: false,
- },
+ highlight: 1,
+ select: 2,
+ open: 2,
+ local: 3,
+ follow: 4,
}
function getAlgos(option?: boolean) {