commit 5a35ecfd0caacb7c5e191a7e520c052ad983e04f
parent 17d63b1fce242475a54959586a4c76ef422eb41b
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Fri, 16 Jun 2023 22:48:57 -0700
useless
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/pkg/web/handlers/chess.go b/pkg/web/handlers/chess.go
@@ -785,7 +785,6 @@ func renderShowVisiblePieceInPosition(styles *StylesBuilder, animationIdx *int,
if currentSq != newSq {
animate(currentSq, newSq, sqID, isFlipped, animationIdx, styles) // Move piece from current square to the new square where we want it to be
}
- //animate(currentSq, newSq, sqID)
piecesCache1[sqID] = newSq // Update cache of location of the piece
}
}