Make card more prominent and fix iOS touch
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -105,6 +105,7 @@
|
||||
};
|
||||
|
||||
this.touchmoveFn = function (ev) {
|
||||
ev.preventDefault();
|
||||
if (self._gyroActive) return;
|
||||
var touch = ev.touches[0];
|
||||
if (!touch) return;
|
||||
@@ -123,7 +124,7 @@
|
||||
this.DOM.el.addEventListener("mouseleave", this.mouseleaveFn);
|
||||
this.DOM.el.addEventListener("mouseenter", this.mouseenterFn);
|
||||
this.DOM.el.addEventListener("touchstart", this.touchstartFn, { passive: true });
|
||||
this.DOM.el.addEventListener("touchmove", this.touchmoveFn, { passive: true });
|
||||
this.DOM.el.addEventListener("touchmove", this.touchmoveFn, { passive: false });
|
||||
this.DOM.el.addEventListener("touchend", this.debounceLeaveFn);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user