pioneers / pimulator-js

Portable robotics simulator for the Pioneers in Engineering robotics kit (JavaScript edition)
3 stars 1 forks source link

Fixed small size bug #101

Closed nia-n closed 3 years ago

nia-n commented 3 years ago

If you hit "Upload Field" on the simulator without doing anything else, the robot is drawn with the old larger dimensions, and when it starts moving, it returns to the appropriate dimensions. Fixed this bug by setting default type to be medium in base.js, instead of just in robot.js.