Commit graph

111 commits

Author SHA1 Message Date
Erik Mejer Hansen
88091d21df Make insertion markers for define blocks have the correct width ()
* Fix 

* Added comment to clarify which case is being handled
2018-11-13 09:49:37 -05:00
Rachel Fenichel
bdb177034d Fix procedure definition blocks with trailing text () 2018-10-25 17:08:08 -04:00
Rachel Fenichel
16e0024b8d Fix () 2018-10-23 16:55:28 -04:00
Rachel Fenichel
efcb456424 Require spaces around infix ops 2018-06-21 10:03:37 -04:00
Lee Howett
d9c91d958d Randomized id for svg filters 2018-05-31 12:23:20 -07:00
Karishma Chadha
4afc8e5085 Scratch block comments. 2018-05-25 17:21:31 -04:00
Rachel Fenichel
fc0da3e070 All remaining lint in core 2018-05-02 15:32:28 -07:00
Rachel Fenichel
26b82223b4 Add a file for scratch-blocks-specific util functions 2018-04-30 15:55:31 -07:00
Eric Rosenbaum
3b2fa0fc73 Adjust separator height for hats 2017-12-15 13:47:23 -05:00
Eric Rosenbaum
72816a2439 Use new FieldVerticalSeparator 2017-12-15 13:47:13 -05:00
Eric Rosenbaum
0282381e5d Check isScratchExtension before adding separator 2017-12-14 15:50:54 -05:00
Eric Rosenbaum
174e543ab7 Merge branch 'develop' of github.com:LLK/scratch-blocks into feature/extension-icon-separator
# Conflicts:
#	core/block_render_svg_vertical.js
2017-12-14 15:36:24 -05:00
Eric Rosenbaum
5f64dc2df6 Use isScratchExtension property in rendering 2017-12-14 14:42:58 -05:00
Eric Rosenbaum
8529a7f562 Only adjust line height for hats (not reporters) 2017-12-12 12:04:13 -05:00
Eric Rosenbaum
febd235067 Move separator line rendering into helper function 2017-12-12 11:57:48 -05:00
Eric Rosenbaum
ad01153291 Wrap comment at 80 chars 2017-12-12 11:34:39 -05:00
Eric Rosenbaum
1991c1cf8a Fix indent continuation (+4 spaces) 2017-12-12 11:33:13 -05:00
Eric Rosenbaum
16d0131d91 Fix line spacing for RTL 2017-12-11 18:15:53 -05:00
Eric Rosenbaum
eb026935bf Fix RTL layout for reporters 2017-12-11 18:14:08 -05:00
Eric Rosenbaum
4d20f576b3 Fix RTL layout for reporters 2017-12-11 18:12:27 -05:00
Eric Rosenbaum
ecffce31ed Use a constant for icon separator line height 2017-12-11 17:28:29 -05:00
Eric Rosenbaum
fc1ebc4de0 Add vertical separator line 2017-12-11 15:46:32 -05:00
Eric Rosenbaum
72f64deff4 Only vertically adjust extension icons, not other icons 2017-12-05 14:51:27 -05:00
Eric Rosenbaum
2c0bc8ab4a Clarify comment 2017-12-05 13:18:13 -05:00
Eric Rosenbaum
0d896dd420 Fix comment 2017-12-05 13:07:13 -05:00
Eric Rosenbaum
21166dae6d Only apply horizontal offset to reporters
(thanks for the consultation @carljbowman)
2017-12-05 13:01:05 -05:00
Eric Rosenbaum
9ba4b90a41 Increase horizontal offset on extension icon for rounder reporters 2017-12-05 11:14:28 -05:00
Eric Rosenbaum
77c78a49b5 Make extension reporters taller 2017-12-05 11:13:53 -05:00
Eric Rosenbaum
39da5da750 Re-order code to clarify 2017-12-05 11:06:58 -05:00
Eric Rosenbaum
3d8ca92841 Fix rendering for hats 2017-12-04 17:25:26 -05:00
Eric Rosenbaum
1f1714ea58 Vertical alignment for extension icon 2017-12-04 16:50:34 -05:00
Eric Rosenbaum
a0ed900eac Horizontal alignment for extension icon 2017-12-04 16:50:21 -05:00
Eric Rosenbaum
8ca9412650 Make extension blocks taller 2017-12-04 16:49:59 -05:00
Rachel Fenichel
c865f36837 Apply new names for procedure components 2017-11-16 13:18:53 -08:00
Rachel Fenichel
d014a7de6e Make inputs own input shapes, and dispose of them correctly 2017-11-09 13:29:51 -08:00
DD Liu
317cb82581
Revert "Improve insertion markers" 2017-11-01 14:32:21 -04:00
DD Liu
b01dcafcf8
Revert "Improve insertion markers" 2017-11-01 14:30:13 -04:00
DD Liu
b0a3e80c65 fix insertion blocks that shouldnt be there 2017-10-30 20:17:14 -04:00
Rachel Fenichel
a2f2612f02 disable for C and E blocks 2017-10-30 13:02:24 -07:00
Rachel Fenichel
6c19f8ac92 Eyes! 2017-10-23 14:51:21 -07:00
Rachel Fenichel
1796a85bd8 Move connection to the correct location 2017-10-18 17:24:02 -07:00
Rachel Fenichel
11a13b2eb3 Fix argument reporter rendering with short text 2017-10-12 17:28:13 -07:00
Rachel Fenichel
a856dee687 Remove dead code 2017-10-12 11:59:48 -07:00
Rachel Fenichel
d3e7bfb081 Tinker with constants for drawing the define block. 2017-10-12 11:41:48 -07:00
Rachel Fenichel
52dac2094e Move connections at the end of render 2017-10-11 17:02:56 -07:00
Rachel Fenichel
75642d1ee8 Make shadow argument reporters pop out visually 2017-10-10 13:25:53 -07:00
Rachel Fenichel
91dd38398c Merge pull request from rachel-fenichel/bugfix/1111
Add correct padding on argument reporters
2017-10-10 13:14:21 -07:00
Rachel Fenichel
6e0f6f7b77 Change shouldDuplicateOnDrag to isArgumentReporter 2017-10-10 13:10:18 -07:00
Rachel Fenichel
7cdb310fd9 Add correct padding on argument reporters 2017-10-09 15:06:03 -07:00
Rachel Fenichel
101a976be4 Fix bad method call 2017-10-09 11:41:23 -07:00