diff --git a/src/client/scripts/esm/game/chess/game.js b/src/client/scripts/esm/game/chess/game.js index fe571c181..3c69f9c3d 100644 --- a/src/client/scripts/esm/game/chess/game.js +++ b/src/client/scripts/esm/game/chess/game.js @@ -164,6 +164,7 @@ function updateBoard() { guinavigation.update(); selection.update(); arrows.update(); // NEEDS TO BE AFTER selection.update(), because the arrows model regeneration DEPENDS on the piece selected! + movement.checkIfBoardDragged(); // ALSO depends on whether or not a piece is selected/being dragged! miniimage.genModel(); highlightline.genModel(); diff --git a/src/client/scripts/esm/game/rendering/movement.js b/src/client/scripts/esm/game/rendering/movement.js index 1f469a742..aa64bcd85 100644 --- a/src/client/scripts/esm/game/rendering/movement.js +++ b/src/client/scripts/esm/game/rendering/movement.js @@ -166,9 +166,6 @@ function updateNavControls() { return; } - // Mouse clicks - checkIfBoardDragged(); - // Keyboard detectPanning(); // Movement (WASD) detectZooming(); // Zoom/Scale (Space shift, mouse wheel) @@ -546,8 +543,8 @@ export default { updateNavControls, randomizePanVelDir, dragBoard, - eraseMomentum, hasMomentum, - clearPositionHistory, - setPositionToArea + eraseMomentum, + setPositionToArea, + checkIfBoardDragged, }; \ No newline at end of file diff --git a/src/client/views/index.ejs b/src/client/views/index.ejs index e77393872..d0869a5ea 100644 --- a/src/client/views/index.ejs +++ b/src/client/views/index.ejs @@ -59,6 +59,7 @@

EmmaBellHelium

Meni

Settemio

+

Mark Wiemer