diff options
| author | Marie <marie@kaifa.ch> | 2024-02-07 21:52:27 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2024-02-07 21:52:27 +0100 |
| commit | af5ebdfcedd763c236ea3718f06827040d24c458 (patch) | |
| tree | aea3469f76fadde61f7514af9324e31c9b6898e0 /packages/frontend/src/scripts | |
| parent | fix: add missing diff between SkNote* and MkNote* (diff) | |
| parent | typo (diff) | |
| download | sharkey-af5ebdfcedd763c236ea3718f06827040d24c458.tar.gz sharkey-af5ebdfcedd763c236ea3718f06827040d24c458.tar.bz2 sharkey-af5ebdfcedd763c236ea3718f06827040d24c458.zip | |
merge: more upstream changes
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/touch.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/frontend/src/scripts/touch.ts b/packages/frontend/src/scripts/touch.ts index 05f379e4aa..4fd7d500c4 100644 --- a/packages/frontend/src/scripts/touch.ts +++ b/packages/frontend/src/scripts/touch.ts @@ -3,6 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-only */ +import { ref } from 'vue'; import { deviceKind } from '@/scripts/device-kind.js'; const isTouchSupported = 'maxTouchPoints' in navigator && navigator.maxTouchPoints > 0; @@ -16,3 +17,6 @@ if (isTouchSupported && !isTouchUsing) { isTouchUsing = true; }, { passive: true }); } + +/** (MkHorizontalSwipe) 横スワイプ中か? */ +export const isHorizontalSwipeSwiping = ref(false); |