Short-then-long-press from off opens the glanceboard

This commit is contained in:
James Babcock committed 2026-09-17 22:31:50 -07:00
1 parent 25c398d60f
commit bed21c9a5f
5 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ export class GlanceHost {
const provider = this.options.getProvider();
if (!provider?.isEnabled()) return null;
if (gesture === "click" && !provider.showOnTap()) return null;
if (gesture === "long-press" && !provider.showOnLongPress()) return null;
if ((gesture === "long-press" || gesture === "short-then-long-press") && !provider.showOnLongPress()) return null;
if (gesture === "head-tilt" && !provider.showOnHeadTilt()) return null;
return glanceEventForGesture(gesture, this.isVisible());
}