Skip to content

Commit 30c8c30

Browse files
committed
Fix color for cursor
1 parent 23d6068 commit 30c8c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component_sketch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def on_wire_body_enter(self, _, wire_id):
333333
color = self.current_dict_circuit[wire_id]["color"]
334334
encre = f"#{color[0]:02x}{color[1]:02x}{color[2]:02x}"
335335
contour = f"#{color[0]//2:02x}{color[1]//2:02x}{color[2]//2:02x}"
336-
self.canvas.config(cursor=f"dot #{encre} {contour}")
336+
self.canvas.config(cursor=f"dot {encre} {contour}")
337337

338338
def on_wire_body_leave(self, *_):
339339
"""

0 commit comments

Comments
 (0)