From c2be9bbca35f6f5ad12e8e58c0fa44bfc91139d7 Mon Sep 17 00:00:00 2001 From: SpacialCircumstances Date: Wed, 26 Jun 2024 02:08:25 +0200 Subject: [PATCH] Deactivate clamping since it breaks on certain map sizes --- client/src/game/container.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/client/src/game/container.js b/client/src/game/container.js index 501640467..91a924680 100644 --- a/client/src/game/container.js +++ b/client/src/game/container.js @@ -162,13 +162,6 @@ class GameContainer { smooth: 5 }) .decelerate({ friction: 0.9 }) - .clamp({ - left: this.starFieldLeft * 2, - right: this.starFieldRight * 2, - top: this.starFieldTop * 2, - bottom: this.starFieldBottom * 2, - underflow: 'none', - }) .clampZoom({ minWidth: 50, minHeight: 50,