Skip to content

Commit

Permalink
fix object tag id
Browse files Browse the repository at this point in the history
I didn't realize special characters couldn't be in a tkinter tag, so I just removed the object name from the tag id.
  • Loading branch information
ego-lay-atman-bay committed Jul 6, 2024
1 parent 7ab699f commit 47accc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def updateObject(self, obj : wmwpy.classes.Object):

pos = self.getObjectPosition(pos, offset)

id = f'{obj.name}-{str(obj.id)}'
id = f'object-{str(obj.id)}'

items = self.level_canvas.find_withtag(id)

Expand Down

0 comments on commit 47accc7

Please sign in to comment.