Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardtable.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-16 14:41:39 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-16 14:41:39 (GMT)
commitbee806f4ee7ad532b027b9f1893301ee1f4039e9 (patch)
treea76ceea38fd0bb98a4a8adf94ad454a65651fff8 /cardtable.py
parent56c457367b1c4628abd9e04b73119118412ab87c (diff)
Assign border_color to selected pair in the cardlist instead of background
Diffstat (limited to 'cardtable.py')
-rw-r--r--cardtable.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cardtable.py b/cardtable.py
index f60dc9b..34cf867 100644
--- a/cardtable.py
+++ b/cardtable.py
@@ -246,7 +246,8 @@ class CardTable(Gtk.EventBox):
self.emit('card-flipped', identifer, False)
def set_border(self, widget, identifer, stroke_color, fill_color):
- self.id2cd[identifer].set_border(stroke_color, fill_color)
+ self.id2cd[identifer].set_border(stroke_color, fill_color,
+ full_animation=True)
def flop_card(self, widget, identifer):
self.id2cd.get(identifer).flop()