mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Fixed tkraise syntax to correct find card highlight overlaps.
This commit is contained in:
parent
0c0feeae97
commit
8439cf07cb
1 changed files with 2 additions and 2 deletions
|
@ -250,12 +250,12 @@ def _highlightCards__calc_item(canvas, delta, cw, ch, s, c1, c2, color):
|
|||
r = MfxCanvasRectangle(canvas, x1, y1, x2, y2,
|
||||
width=4, fill=None, outline=color)
|
||||
if tkraise:
|
||||
r.tkraise(c2.item)
|
||||
canvas.tkraise(r)
|
||||
elif TOOLKIT == 'kivy':
|
||||
r = MfxCanvasRectangle(canvas, x1, y1, x2, y2,
|
||||
width=4, fill=None, outline=color)
|
||||
if tkraise:
|
||||
r.tkraise(c2.item)
|
||||
canvas.tkraise(r)
|
||||
elif TOOLKIT == 'gtk':
|
||||
r = MfxCanvasRectangle(canvas, x1, y1, x2, y2,
|
||||
width=4, fill=None, outline=color,
|
||||
|
|
Loading…
Add table
Reference in a new issue