From 645ac599a7bd3d9e6040dc11e4e4dcc8f315ebdb Mon Sep 17 00:00:00 2001 From: yukirij Date: Mon, 26 Aug 2024 20:17:46 -0700 Subject: [PATCH] Fix from coordinates for drop animation. --- www/js/interface.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/www/js/interface.js b/www/js/interface.js index d644399..46c3e4e 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -636,10 +636,6 @@ const INTERFACE = { // Lerp between pool and board positions. case 1: { let coord_from = HEX.tile_to_hex(play.from); - if((INTERFACE_DATA.player & 1) ^ INTERFACE_DATA.rotate == 1) { - coord_from.x = 8 - coord_from.x; - coord_from.y = 8 - coord_from.y; - } from_x = basis_x + (radius * 14); from_y = basis_y - (9 - (2 * coord_from.y)) * gui_scale; } break;