This commit is contained in:
team3
2026-07-13 16:28:23 +02:00
parent a8e8e077bd
commit e51cecda6e
2 changed files with 13 additions and 1 deletions

View File

@@ -65,6 +65,11 @@ function taste(e) {
// Vertikales Scrollen und Text-Markieren bleiben unberührt (dy-Vergleich).
let wisch = null
function wischStart(e) {
// Start auf horizontal scrollbarem Element (breite Formel/Tabelle):
// der Wisch gehört dem Element, nicht der Seiten-Navigation
for (let el = e.target; el && el !== e.currentTarget; el = el.parentElement) {
if (el.scrollWidth > el.clientWidth + 1) { wisch = null; return }
}
const t = e.touches[0]
wisch = { x: t.clientX, y: t.clientY }
}