optimization and some fixes v4

This commit is contained in:
2026-04-26 12:32:57 +07:00
parent 56651f587f
commit f98629ce42
+1 -1
View File
@@ -440,7 +440,7 @@ function render(currentTime) {
const now = currentTime || performance.now(); const now = currentTime || performance.now();
// Адаптивный FPS // Адаптивный FPS
const fpsLimit = isMobile ? 33 : 16; const fpsLimit = 16;
if (now - lastDrawTime < fpsLimit) return; if (now - lastDrawTime < fpsLimit) return;
lastDrawTime = now; lastDrawTime = now;