Update target FPS for mobile devices in app.js

This commit is contained in:
2025-05-28 17:49:48 +02:00
parent 9a2a7382d8
commit 631da960d6

View File

@@ -15,7 +15,7 @@ function isMobileDevice() {
const IS_MOBILE = isMobileDevice(); const IS_MOBILE = isMobileDevice();
const LOW_PERFORMANCE = IS_MOBILE; // ... später aus FPS ableitbar const LOW_PERFORMANCE = IS_MOBILE; // ... später aus FPS ableitbar
let targetFps = LOW_PERFORMANCE ? 24 : 60; let targetFps = LOW_PERFORMANCE ? 30 : 60;
let lastAnim = 0; let lastAnim = 0;
const container = document.getElementById('viewer'); const container = document.getElementById('viewer');