[iagno] Little highlight fix.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Little highlight fix.
- Date: Sat, 16 Feb 2019 15:39:00 +0000 (UTC)
commit b2904b19adee40be252016bf38953b8b5c884f54
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sat Feb 16 16:34:40 2019 +0100
Little highlight fix.
src/game-view.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index af68c4b..f0a9d05 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -415,7 +415,8 @@ private class GameView : Gtk.DrawingArea
get_pixmap (game.get_owner (x, y)),
/* force redraw */ true);
// no highliqht animation after undo
- highlight_state = HIGHLIGHT_MAX;
+ if (!game.is_complete)
+ highlight_state = HIGHLIGHT_MAX;
}
// set highlight on undone play position
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]