From 572bad417b741d8d7c135258fe25b26e715ab439 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 25 Apr 2016 18:31:22 +0200 Subject: [PATCH] Fix dragged piece during promotion popup When dragging to a promotion square, the piece would keep 'hanging' in the release position while the promotion popup was shown. (This usually covered it, but not always.) As after a choice is made the move will be animated, it was more logical to put it back on the from-square. --- backend.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/backend.c b/backend.c index 55cb253..4f6262a 100644 --- a/backend.c +++ b/backend.c @@ -7915,6 +7915,7 @@ LeftClick (ClickType clickType, int xPix, int yPix) DisplayMessage("Click in holdings to choose piece", ""); return; } + DrawPosition(FALSE, NULL); // shows piece on from-square during promo popup PromotionPopUp(promoChoice); } else { int oldMove = currentMove; -- 1.7.0.4