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.
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.