dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit d569bbbf0b77482669b4f97e945e015d61943dc0
parent 86e4a1f17bbab1ebe31401766e02ad7a54e5bad1
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 16 Jun 2023 23:25:39 -0700

typo

Diffstat:
Mpkg/web/handlers/chess.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/chess.go b/pkg/web/handlers/chess.go @@ -766,7 +766,7 @@ Loop: return nil } -func renderShowVisiblePieceInPosition(styles *StylesBuilder, animationIdx *int, visiblePieces hashset.HashSet[chess.Square], +func renderShowVisiblePieceInPosition(styles *StylesBuilder, animationIdx *int, visiblePieces *hashset.HashSet[chess.Square], squareMap map[chess.Square]chess.Piece, piecesCache map[chess.Square]string, piecesCache1 map[string]chess.Square, isFlipped bool) { for _, newSq := range visiblePieces.ToArray() { sqID := piecesCache[newSq] // Get ID of piece on square newSq