ev3dev-python-tools / ev3dev2simulator

Simulator for an EV3 robot; a program using the ev3dev2 API can run both on the rover and on the simulator without any modifications to the code
MIT License
6 stars 9 forks source link

GUI crashes when pressing left or right mouse button on an empty location #30

Closed ximinity closed 3 years ago

ximinity commented 3 years ago

The simulator GUI crashes when pressing either the left or right mouse button on a location where no object is located. This is because the simulator doesn't always check if there is an object there, it just assumes there is. I've made a PR (#29) that fixes this issue.

NielsOkker commented 3 years ago

Added fix to development branch. Will be tested and added to the next release.