84990d66a9
Update simulator as per latest lego UI design for sensors. Fix full screen layout issues. ( #554 )
2018-05-02 13:58:59 -07:00
b69af383a6
Better mouse event handling ( #552 )
...
* Use learnings from touch events in Blockly and apply to the Ev3 sim. Register move and up events on the document rather than the individual element allowing users greater flexibility where they move their mouse once it's down.
* Add mouse leave events
2018-05-02 13:54:06 -07:00
d0331720b4
Fix slider gradient bug when loading components from a previous sim run. ( #514 )
2018-04-13 15:52:38 -07:00
8398c8efdb
Dispose correctly of gradient definitions in the control. Attach to port number not id.
2018-04-10 11:49:15 -07:00
cbe68b3199
Add motor slider control
2017-12-28 13:23:30 -08:00
8be4bb11d8
Fix resizing in controls to work for all sizes including full screen
2017-12-27 16:30:42 -08:00
85c14bb05a
Fix rotation and distance slider update state
2017-12-26 23:23:26 -08:00
180f32f25c
Simulator refactoring to support better resizing of modules and controls
2017-12-22 14:00:23 -08:00
ef5fa9ae82
Minor fix to killing the animation when the sim is killed
2017-12-19 14:55:43 -08:00
0529759a80
Fix ultrasonic value to use cm instead of 0.1 cm units ( #110 )
...
* Fix simulator
* use 250 instead of 255
2017-12-18 20:30:56 -08:00
6320379d02
Initial sim implementation
2017-12-18 13:04:17 -08:00