Commit graph

4 commits

Author SHA1 Message Date
Rachel Fenichel
fc0da3e070 All remaining lint in core 2018-05-02 15:32:28 -07:00
Rachel Fenichel
413faaa778 Switch to Blockly.Field.fromJson 2018-04-17 14:15:18 -07:00
Rachel Fenichel
26241e18e4 Fix setting constraints for number dropdown fields 2016-11-10 14:24:59 -08:00
Tim Mickel
d65c274652 Text+drop-downs and number+drop-downs ()
* Don't force text-centering around FIELD_WIDTH if arrow present

* Add dark arrow asset

* Refactor FieldNumber restrictor generator to be static

* Allow disabling of FieldDropDown colour changing

* Add FieldTextDropDown and FieldNumberDropDown

* Add number drop-downs to list blocks

* Add docs

* Update `setArgType` -> `addArgType`

* Ensure arrow only created once

* Update list index min

* Refactor shared components of num restriction

* Line breaks

* Clear touch identifier

* Clear touch identifier when text drop-down closed

* Inheritance simplification
2016-10-05 17:14:33 -04:00