Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placing a figure to the left side of the red box will cause the page to break #176

Open
danylopez123 opened this issue Feb 10, 2024 · 0 comments

Comments

@danylopez123
Copy link

danylopez123 commented Feb 10, 2024

There are times that i got an error like this:

Entry to delete: 38
Removing item: null
TypeError: Cannot read property 'pad' of null
at new Event (/home/danylopez123/LD-ToyPad-Emulator/node_modules/node-ld/dist/lib/Event.js:23:19)
at ToyPadEmu.tagRemoveEvent (/home/danylopez123/LD-ToyPad-Emulator/node_modules/node-ld/dist/lib/ToyPadEmu.js:133:13)
at ToyPadEmu.remove (/home/danylopez123/LD-ToyPad-Emulator/node_modules/node-ld/dist/lib/ToyPadEmu.js:121:9)
at app.delete (/home/danylopez123/LD-ToyPad-Emulator/index.js:559:5)
at Layer.handle [as handle_request] (/home/danylopez123/LD-ToyPad-Emulator/node_modules/express/lib/router/layer.js:95:5)
at next (/home/danylopez123/LD-ToyPad-Emulator/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/home/danylopez123/LD-ToyPad-Emulator/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/home/danylopez123/LD-ToyPad-Emulator/node_modules/express/lib/router/layer.js:95:5)
at /home/danylopez123/LD-ToyPad-Emulator/node_modules/express/lib/router/index.js:284:15
at Function.process_params (/home/danylopez123/LD-ToyPad-Emulator/node_modules/express/lib/router/index.js:346:12)

At first i was confused why it happens but then it turns out that there were times that i "accidentally" placed a figure to the left side of the red box to delete them.

The figure still gets deleted but doesnt get removed from the emulator page and because of that, trying to move a figure after that will cause the error mentioned abobe unless you refresh the page.

This might sound like a minor thing and it's not special but this might also give to the others a heads up if they notice the emulator breaks because of this.

imagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant