Blank Variables

Hello, I just wanted to say that I have found a quite peculiar bug in the Snap! editor. If you were to create a variable named "i" and you change the name of that variable to " " (a space), then the variable will glitch causing the variable to show on the screen even when deleted. Also, if you do this a second time, it will cause the shown " " variable to duplicate itself on the screen whenever you try to drag it. This glitch also seems to save into the project data itself so that you can only "un-glitch" your screen by creating an entirely new project. I don't actually know what is causing this weird bug, but I'd be grateful if you could take a look. Thanks. :slight_smile:

So don't change the variable to a space in the 1st place :slight_smile:

Also attempting to delete a variable " " shows "close" instead


Clicking its checkmark just adds another variable monitor but not checked.

What's causing this?

a variable named ' ' makes the editor think the variable does not exist, therefore creating a new watcher every time the box is ticked.

thanks for the report. I've fixed this bug for the next release.

Thank you. :smiley: