* Update colorGrid.ts
* Update ns.ts
Added option to select emptiness (nothing) for the colorEnumPicker block.
* set-new-names-for-color-cells
Set new names for colored cells that pops up when hovering over an element. So the user will understand the color.
* Update sim/visuals/controls/colorGrid.ts
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
---------
Co-authored-by: Joey Wunderlich <jwunderl@users.noreply.github.com>
* redesigned-code-to-support-ref-raw
Code that adds reflection raw support for the color sensor. The range of values for this is from 0 to 1023, because analog to digital converter is 10 bits. In fact, the color sensor gives values of about 400 - 700, but I decided to leave the range, which could theoretically be. For other cases (reflections and ambient lighting), the range remains from 0 to 100. The average value when setting the mode in the simulator is displayed as 512, for other modes 50%.
* block-description-update
Block description update, as it did not take into account the mode of raw reflection values.
* 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
* Initial work
* More stuff
* Stuff
* Stuff
* Hardcoded dashed line
* High and low thresholds
* Use rect bBox
* Add back grabbing hand
* Threshold placement
* Cleanup
* Don't need defs
* pxtarget
* Remove dashed lines for now
* refactor beacon function inside IR sensor
* towards sim support
* channel labels
* reverting to singletons
* hiding unused apis
* lazy allocation of button instances
* tracking button state
* hook up the state
* support for IR proximity
* fixing build issue
* missing break
* remove auto-start of sensor
* setting mode on onEvent
* flooring slider value
* bump up proximity
* fixing threshold blocks