From e5d4fad64be130f111c5d1935eec0e54a4615d2d Mon Sep 17 00:00:00 2001 From: tobspr Date: Mon, 22 Jun 2020 12:36:02 +0200 Subject: [PATCH] Update changelog, minor adjustments --- src/js/changelog.js | 1 + src/js/game/camera.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/changelog.js b/src/js/changelog.js index 055b991f..36ac0ab4 100644 --- a/src/js/changelog.js +++ b/src/js/changelog.js @@ -7,6 +7,7 @@ export const CHANGELOG = [ "The soundtrack now has a higher quality on the standalone version than the web version", "Add setting to disable cut/delete warnings (by hexy)", "Fix bug where belts in blueprints don't orient correctly (by hexy)", + "Fix camera moving weird after dragging and holding (by hexy)", "Update tutorial image for tier 2 tunnels to explain mix/match (by jimmyshadow1)", "Prevent default actions on all keybindings in the web version so you don't accidentally use builtin browser shortcuts", ], diff --git a/src/js/game/camera.js b/src/js/game/camera.js index 0364f695..d2c468c9 100644 --- a/src/js/game/camera.js +++ b/src/js/game/camera.js @@ -28,7 +28,7 @@ const velocitySmoothing = 0.5; const velocityFade = 0.98; const velocityStrength = 0.4; const velocityMax = 20; -const ticksBeforeErasingVelocity = 2; +const ticksBeforeErasingVelocity = 10; /** * @enum {string}