From 73715a1df07d11edf04826941c916dd9515c5faf Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 10 May 2016 20:26:56 +0200 Subject: [PATCH] Fix highlights clearing when highlight last move off When moves are not highlighted, the selected piece still is. But this highlight should be erased after the move. --- backend.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index 2a34146..d7788cb 100644 --- a/backend.c +++ b/backend.c @@ -7945,6 +7945,7 @@ LeftClick (ClickType clickType, int xPix, int yPix) if(saveAnimate && !appData.animate && currentMove != oldMove && // drag-move was performed Explode(boards[currentMove-1], fromX, fromY, toX, toY)) DrawPosition(TRUE, boards[currentMove]); + else DrawPosition(FALSE, NULL); fromX = fromY = -1; flashing = 0; } -- 1.7.0.4