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:
parent
4eda77216d
commit
d0a19317f0
@ -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) => {
|
||||||
|
|||||||
@ -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) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user