mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -05:00
Capture pointer during long press
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
|
||||
let interval: NodeJS.Timeout;
|
||||
|
||||
function startProgress() {
|
||||
function startProgress(pointerEvent: PointerEvent) {
|
||||
(pointerEvent.target as HTMLButtonElement).setPointerCapture(pointerEvent.pointerId);
|
||||
|
||||
loading.value = true;
|
||||
|
||||
incrementProgress();
|
||||
|
||||
Reference in New Issue
Block a user