Sam El-Husseini
5852bef90d
Inject constants CSS in createDom ( #3502 )
...
* Inject constants CSS in createDom instead. Use a random identifier to pre-emptively set CSS that uses the disabled pattern id.
2019-12-10 15:00:32 -08:00
Sam El-Husseini
55997784ca
Move blockStyles into constants ( #3485 )
...
* Move blockStyles into constants.
2019-12-06 10:51:36 -08:00
alschmiedt
10b3a9aa9a
Refactor marker and cursor ( #3484 )
...
* Refactor marker and cursor
2019-12-04 14:50:58 -08:00
Sam El-Husseini
e5cb8e753e
Move CSS to constants ( #3482 )
2019-12-04 09:46:18 -08:00
Sam El-Husseini
426e17a06d
Move more CSS into renderers. ( #3455 )
...
* Move more CSS into renderers.
2019-11-20 11:57:37 -08:00
Sam El-Husseini
329a21c572
Add theme and renderer classnames onto the widget and dropdown div. ( #3456 )
...
* Add theme and renderer classnames onto the widget and dropdown div.
2019-11-20 11:07:39 -08:00
Sam El-Husseini
70c24cf94e
CSS in renderers ( #3446 )
...
* Have each renderer declare some CSS that is specific to the renderer.
2019-11-18 16:14:19 -08:00
Sam El-Husseini
3c120f9d46
Highlight input shape in Zelos ( #3444 )
...
* Highlight shape for input in zelos rendering
2019-11-15 13:14:39 -08:00
alschmiedt
564af764d0
Cursor renderer ( #3440 )
...
* Initial commit for adding the cursor to renderer
2019-11-14 13:36:29 -08:00
Sam El-Husseini
f9dcb60f82
Zelos replacement highlight ( #3431 )
...
* Zelos replacement highlight
2019-11-13 17:14:28 -08:00
Rachel Fenichel
13e4d671c3
Moved setHighlighted and setDisabled into the path object.
2019-11-01 14:28:51 -07:00
Sam El-Husseini
42552b5b22
Fix 6 warnings related to rendering. ( #3292 )
2019-10-21 17:49:38 -04:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Rachel Fenichel
0e1a4b68e1
Remove blockRendering.Debug, thrasos, and zelos from default requires.js
2019-09-27 12:01:06 -07:00
kozbial
60e6b8c6df
style and doc updates.
2019-09-19 10:38:23 -07:00
kozbial
3d06e7eb33
Creating cursordrawer in renderer.
2019-09-19 10:38:23 -07:00
Rachel Fenichel
77185906d8
Renderers define which paths a block has. ( #2981 )
...
* Move render elements into a path object.
2019-09-16 12:13:32 -07:00
Sam El-Husseini
e339ae26bc
Move the rendering object to live on the workspace_svg ( #3016 )
...
* Move the rendering object onto the workspace allowing the various workspaces to have different renderers.
2019-09-13 14:20:34 -07:00
Rachel Fenichel
4b17234cba
Alphabetize requires
2019-09-10 13:01:13 -07:00
Rachel Fenichel
da6d28b818
More cleanup
2019-09-05 11:16:27 -07:00
Rachel Fenichel
581705cc7b
Create a Renderer base class and extend it for each type of renderer
2019-09-04 17:16:08 -07:00