Commit Graph

3850 Commits

Author SHA1 Message Date
Troy McKinnon 11906b7535 improve type annotations 2015-11-10 17:28:46 -06:00
Ke, Mingze ff6d06a735 Fixed toolbox categories don't support touch. Issue #202. 2015-11-09 18:08:13 +08:00
Neil Fraser 11ef9f2988 Add hook for clicking on trashcan. 2015-10-25 23:50:20 -07:00
Neil Fraser b10ef6da48 Allow custom gaps to be specified between toolbox blocks. 2015-10-25 22:20:08 -04:00
Neil Fraser d07d103f1d Allow top-level shadow blocks via XML.
This is a terrible idea, but I generally allow developers wide latitude
in foot-shooting.
2015-10-24 23:53:07 -04:00
Neil Fraser ec99c95718 Speed up unhiding of workspace with large numbers of blocks. 2015-10-24 23:53:07 -04:00
Neil Fraser 1026d353ce Allow blocks in toolbox to be disabled individually. 2015-10-21 15:21:51 -07:00
Neil Fraser a485e63df2 Allow zooming of non-scrolling workspaces. 2015-10-21 14:38:39 -07:00
Neil Fraser dcd463b550 Add 'startScale' and remove 'enabled' options on zoom. 2015-10-21 13:25:02 -07:00
Neil Fraser 54ffdc5926 Don't allow shadow blocks to be deleted. 2015-10-21 12:58:52 -07:00
Carlos Galarza a9d4ba4c8d Add zoomToFit method to Workspaces 2015-10-15 17:51:52 -05:00
Neil Fraser 17ead475b9 Don't mistakenly animate deletion of whole stack. 2015-10-14 22:06:13 -07:00
Neil Fraser 9b26d0d260 De-shadow blocks that have been edited. 2015-10-14 18:20:53 -07:00
Neil Fraser ded524ff3a Add tabbing between text fields. 2015-10-14 16:23:23 -07:00
Neil Fraser c83faa3314 Fix colours on collapsed categories. 2015-10-14 15:00:32 -07:00
Neil Fraser 3d2e9b3a17 Move category colours to be on left. 2015-10-14 14:02:09 -07:00
Neil Fraser 4468959909 Fix extra whitespace in shadow XML. Issue #196. 2015-10-12 22:25:00 -07:00
Neil Fraser b503dd7d80 Add shadow blocks and category colours to code demo. 2015-10-12 21:00:29 -07:00
Neil Fraser 59cadcb2d7 Add optional colour tabs on toolbox categories. 2015-10-12 17:30:41 -07:00
Neil Fraser 4dffad0dad Improve 'clean up' spacing. 2015-10-12 16:14:03 -07:00
Neil Fraser 879cacbb8d Add 'clean up blocks' command to workspace menu. 2015-10-09 19:22:22 -07:00
Neil Fraser a6ea38db4a Stop shadow from reappearing when one block replaces another. Issue #193 2015-10-09 16:04:19 -07:00
Neil Fraser b5844c45e2 Fix images on blocks that are created collaped. Issue #190. 2015-10-09 15:32:21 -07:00
Neil Fraser 701ae603b7 Fix headless connections. 2015-10-09 13:53:14 -07:00
Neil Fraser 29262cb441 Merge pull request #189 from kencheung/clone-refactoring-svg
Refactor duplicated callback function for collapse and expand options
2015-10-09 13:31:08 -07:00
Neil Fraser 799835943a Shadow Blocks 2015-10-06 18:09:27 -07:00
Neil Fraser 1140a6ccf2 Simplify XML parser. 2015-10-05 16:08:44 -07:00
Ken Cheung 18bac530d8 Refactor duplicated callback function for collapse and expand options 2015-10-05 21:26:16 +08:00
Neil Fraser 90e3ccb2b7 Add Blockly.BlockSvg.START_HAT option. 2015-10-04 07:15:18 -07:00
Neil Fraser 2d11522c0e Stop Firefox from jumping when widget div is displayed. Issue 186. 2015-10-01 20:23:46 -07:00
Neil Fraser 6f924e349a Speed up connection matching. Fix theoretical race condition. 2015-10-01 14:09:14 -07:00
Neil Fraser c82c460da8 Move icon reference to block SVG.
No functional change.
2015-09-30 19:33:05 -07:00
Neil Fraser 7db8ce94de Minor simplifications to connections. 2015-09-29 23:12:32 -07:00
Neil Fraser 349146743b Remove dependency on goog.cssom. 2015-09-29 15:40:19 -07:00
Neil Fraser fbab06082e Recompile language updates. 2015-09-28 14:17:53 -07:00
Neil Fraser 8ecfab014f Separate overlapping emboss filter and disabled pattern across multiple Blockly instances. Issue 184. 2015-09-28 12:20:28 -07:00
Neil Fraser 8beffc6c33 Fix dropdowns on scrolled pages. Issue 183. 2015-09-24 14:53:29 -07:00
Neil Fraser 33a0cc98de Switch focus to correct workspace when clicking on block. 2015-09-23 14:46:29 -07:00
Neil Fraser 47ad32f6c7 A better fix for the zoom center button. 2015-09-22 17:51:21 -07:00
Neil Fraser 890d8d8d73 Fix zoom center button. Reverse disconnect wiggle. 2015-09-22 17:28:51 -07:00
Troy McKinnon 6d6716c3d3 adding type annotations 2015-09-22 13:32:14 -05:00
Neil Fraser 37777828f4 Fix disconnect sound in FF. 2015-09-22 11:14:25 -07:00
Neil Fraser f23702f2c7 Turn off debugging in compiled mode. 2015-09-21 18:05:34 -07:00
Neil Fraser 317db942d5 Fix jump when blocks are added from top of flyout. Issue 179. 2015-09-21 16:23:33 -07:00
Neil Fraser 7ecf7df1cb Don't leave blockly_uncompressed.js empty for a long period during build. 2015-09-21 16:12:21 -07:00
Neil Fraser c00f95f45b Stub out Realtime. Saves 15kb in blockly_compressed.js 2015-09-21 15:11:51 -07:00
Neil Fraser bd77e4c1bf Fix deletion or cutting block that is being dragged. 2015-09-21 15:08:35 -07:00
Neil Fraser 2d60d94941 Re-allow output coupled with next statement. 2015-09-20 14:37:28 -07:00
Neil Fraser c14951c928 Add disconnect sound and animation. 2015-09-20 14:28:39 -07:00
Neil Fraser ad1d1261c8 Duplicate should spread blocks out like copy and paste do. 2015-09-18 18:46:19 -07:00