Commit Graph

144 Commits

Author SHA1 Message Date
Rachel Fenichel
135ab7993e Use ascender/descender naming for top and bottom rows; tweak position calculation. 2019-09-04 16:26:53 -07:00
Sam El-Husseini
73d0b70c22 Add a spacer before and after a statement input and place use it to render a right corner before and after the statement input. (#2967) 2019-09-04 15:38:23 -07:00
Rachel Fenichel
5dc45be726 Reset default renderer to geras. (#2960) 2019-09-03 15:55:52 -07:00
Sam El-Husseini
189c561f49 Rendering type checker (#2950)
* Convert all rendering types to use a type enum flag.
2019-09-03 14:39:02 -07:00
Sam El-Husseini
96378f9183 Fix slight offset in statement input connection X location. (#2953)
* Fix slight offset in statement input connection X location.
2019-09-03 14:38:10 -07:00
Rachel Fenichel
ff64170239 Merge pull request #2947 from rachel-fenichel/pad_dummies
Fix width on dummy row.
2019-09-03 10:55:55 -07:00
Sam El-Husseini
06a882348b Render round right corners in zelos. (#2938)
* Render round right corners in zelos.
2019-08-30 18:11:01 -07:00
Rachel Fenichel
4dfb03adbf Make statement inputs store their actual width. (#2944)
* Make statement inputs store their actual width.
2019-08-30 17:55:51 -07:00
Rachel Fenichel
d3fea64f99 Fix width on dummy row. 2019-08-30 17:50:06 -07:00
Sam El-Husseini
6050456bcf Fix bug in base renderer, not respecting the bottom row's overhang Y property. (#2942) 2019-08-30 15:44:44 -07:00
Rachel Fenichel
aa8f4685da Add connectedBlockBounds option; set quieter defaults 2019-08-29 17:12:09 -07:00
Rachel Fenichel
c069316866 Debug configurability 2019-08-29 16:21:51 -07:00
Rachel Fenichel
bc50143130 Remove special case for spacer after statement 2019-08-29 15:05:09 -07:00
kozbial
25a41fd6ab Adding drop shadow into statement input height computation. 2019-08-27 17:24:29 -07:00
kozbial
e063ae5a38 Simplify statement input height computation logic. 2019-08-27 16:50:09 -07:00
Sam El-Husseini
e7f10e7c3e minor rendering fix (#2919) 2019-08-27 10:47:32 -07:00
Sam El-Husseini
dc1e7b82fe Zelos notch (#2918)
* Add the zelos notch
2019-08-26 17:49:42 -07:00
Rachel Fenichel
d28c5dd8be Rename rendering files and folders 2019-08-26 10:48:44 -07:00
Rachel Fenichel
9c27b878d7 Move the rest of the measurables into their own folder 2019-08-26 10:25:35 -07:00
Rachel Fenichel
7c40ddf141 Update warning 2019-08-26 10:22:58 -07:00
Rachel Fenichel
27cd26b264 Add a function to get the shape object of a connection, and use it 2019-08-23 17:34:41 -07:00
Rachel Fenichel
f4dc626439 lint 2019-08-23 17:05:36 -07:00
Rachel Fenichel
f75d0fe66d Update comments 2019-08-23 16:48:41 -07:00
Rachel Fenichel
81c06281e0 Add a constant provider for zelos 2019-08-23 16:44:21 -07:00
Rachel Fenichel
70eb19ae09 Get rid of unnecessary cast 2019-08-23 15:58:24 -07:00
Rachel Fenichel
a9189f01bc Fix up annotations 2019-08-23 14:52:42 -07:00
Rachel Fenichel
a57f4691c7 Move highlighting code into geras. 2019-08-23 14:43:56 -07:00
Rachel Fenichel
81fc9bf32c Switch constants to objects 2019-08-23 11:21:30 -07:00
Rachel Fenichel
121840bedf Add a function for initializing rendering 2019-08-23 10:52:25 -07:00
Rachel Fenichel
3e8ea99d34 Centralize references to highlight constants 2019-08-23 10:44:46 -07:00
Rachel Fenichel
7c9cf16821 Update measurables.js 2019-08-23 10:34:03 -07:00
Rachel Fenichel
a81c633be7 Centralize references to Blockly.blockRendering.constants 2019-08-22 18:08:59 -07:00
Rachel Fenichel
73ecde2497 Lint 2019-08-21 15:38:59 -07:00
Rachel Fenichel
dd9fdf908f Slightly less fragile 2019-08-21 15:24:37 -07:00
Rachel Fenichel
d19614439f Fix icons in geras 2019-08-21 14:35:36 -07:00
Rachel Fenichel
e86c852936 Split render_info 2019-08-21 14:33:43 -07:00
Rachel Fenichel
611b9884ca Move input measurables into a separate file, and make them extend connection measurables. 2019-08-20 15:51:31 -07:00
Rachel Fenichel
d790ad98ee Merge pull request #2882 from rachel-fenichel/measurables_connections_file
Move Connection measurables to their own file
2019-08-20 15:48:33 -07:00
Rachel Fenichel
c2e772f864 Fix provides and requires 2019-08-20 15:41:52 -07:00
kozbial
ffbd483442 Storing notch_left_offset on rows and measurables. 2019-08-20 14:09:16 -07:00
Rachel Fenichel
8d32f6bef3 Move Connection measurables to their own file 2019-08-20 11:41:04 -07:00
kozbial
c50257619f Updating for loops in renderers to use constent pattern. 2019-08-20 11:40:01 -07:00
Rachel Fenichel
2102af9c7b Merge pull request #2869 from rachel-fenichel/populate_top_bottom_rows
Make top and bottom rows populate themselves
2019-08-20 10:50:38 -07:00
Rachel Fenichel
9dcd38abb8 Remove dead TODO 2019-08-20 10:45:53 -07:00
Monica Kozbial
124f7a38b4 Merge pull request #2830 from moniika/moniika-use-field-notch-and-connection
Minor refactor in drawing statement and value inputs
2019-08-19 16:26:28 -07:00
Rachel Fenichel
d25c08e209 Merge branch 'develop' into populate_top_bottom_rows 2019-08-19 15:16:06 -07:00
Rachel Fenichel
9b8636661f Make rows populate themselves 2019-08-19 15:08:23 -07:00
Rachel Fenichel
54ef08ea04 Fix some annotations 2019-08-19 14:57:13 -07:00
kozbial
4debe8f967 Fixing eslint issue and missing getLastInput call. 2019-08-19 14:51:12 -07:00
kozbial
2d314cbd4a Reverting highlight methods restructure. 2019-08-19 14:51:12 -07:00