1
0
Fork 0
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:
Joe R 2023-03-23 20:38:30 -04:00
parent 0c0feeae97
commit 8439cf07cb

View file

@ -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,