Add touch start logging for video pages

Add console logs to `GeschichteLiedPage` and `GipfelstammtischPage` to capture touch start events and video/page counts for debugging.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/DyHCx4q
This commit is contained in:
sebastjanartic 2025-09-01 21:55:29 +00:00
parent 4eda77216d
commit d0a19317f0
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ export default function GeschichteLiedPage() {
const handleTouchStart = (e: React.TouchEvent) => { const handleTouchStart = (e: React.TouchEvent) => {
setTouchEnd(0); setTouchEnd(0);
setTouchStart(e.targetTouches[0].clientX); setTouchStart(e.targetTouches[0].clientX);
console.log('Geschichte: Touch start, videos:', geschichteVideos.length, 'totalPages:', totalPages);
}; };
const handleTouchMove = (e: React.TouchEvent) => { const handleTouchMove = (e: React.TouchEvent) => {

View File

@ -55,6 +55,7 @@ export default function GipfelstammtischPage() {
const handleTouchStart = (e: React.TouchEvent) => { const handleTouchStart = (e: React.TouchEvent) => {
setTouchEnd(0); setTouchEnd(0);
setTouchStart(e.targetTouches[0].clientX); setTouchStart(e.targetTouches[0].clientX);
console.log('Gipfel: Touch start, videos:', gipfelVideos.length, 'totalPages:', totalPages);
}; };
const handleTouchMove = (e: React.TouchEvent) => { const handleTouchMove = (e: React.TouchEvent) => {