Commit graph

47 commits

Author SHA1 Message Date
rachel-fenichel
a4bdede170 Fix scrollbar positioning and category ordering 2016-04-07 14:02:22 -07:00
rachel-fenichel
9d82bf3a18 lint 2016-04-07 14:02:22 -07:00
rachel-fenichel
18a1550285 Horizontal toolbox layout with positioning at start or end. 2016-04-07 14:02:22 -07:00
Neil Fraser
39f7e6660e Add category UI event. Issue #306. 2016-03-31 02:04:23 -07:00
Katelyn Mann
b11bd4fb71 Remove Blockly.removeAllRanges and replace it with calls to add/remove
css to mark text as unselectable instead.  I can't prove this is
significantly faster with numbers since the call to setup the time out
costs ~.1ms and the call when the timer fires is ~.05.  This happens on almost
every mouse event though.  Plus, it seems to remove a flicker of highlighting when
frames are skipped and keeps scrolling via the scrollbar from highlighting.
2016-03-28 10:06:43 -07:00
Neil Fraser
6e6a04b879 Add X/Y coordinates and block ID to create event. 2016-02-16 21:57:22 -08:00
Neil Fraser
5ca8b36cfc Allow <sep> to be used to add gaps between blocks. 2016-02-05 18:41:47 -08:00
picklesrus
80d8d55315 Cache delete area rectangle bounds in the on mouse down event
to avoid getting it for every mouse move event. The delete areas
won't change while the user is dragging blocks around.
Also switch calculations for delete area inclusion to be done in
client coordinates so we don't have to convert to svg coordinates on
every mouse move event.
This should speed up dragging blocks a bunch.
2016-02-03 15:36:39 -08:00
Neil Fraser
3bce368115 Simplify workspace options by removing svg property. 2016-01-07 17:01:01 -08:00
Neil Fraser
e1acdf5caf Allow RGB colours. 2015-12-13 19:13:05 +01:00
Neil Fraser
383ca8258c Fix toolbar with both colours and subcategories.
Also fix updating of toolbar after loading Blockly.
2015-12-01 12:28:19 -08:00
Ke, Mingze
ff6d06a735 Fixed toolbox categories don't support touch. Issue #202. 2015-11-09 18:08:13 +08:00
Neil Fraser
1026d353ce Allow blocks in toolbox to be disabled individually. 2015-10-21 15:21:51 -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
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
53f5424801 Skc memory leaks (PR #159) 2015-08-20 15:46:44 -07:00
Allison Lamm
02fa8cb605 more type annotation updates 2015-08-10 14:34:42 -05:00
Neil Fraser
782676071a Fix page scrolling in flyout. 2015-07-14 17:04:47 -07:00
Neil Fraser
bcebb0776b Allow flights to be initially expanded in toolbox. 2015-07-09 11:57:06 -07:00
Neil Fraser
d819db2acf Lint corrections. 2015-07-02 19:41:10 -07:00
Neil Fraser
8202ebf07d Dispose of toolbox when workspace is disposed. 2015-06-04 12:04:43 -07:00
Neil Fraser
e8ab929b6a Fix visibility changes with toolbox. 2015-05-22 17:08:59 -07:00
Neil Fraser
767d7fe556 Add expanded property to toolbox XML. 2015-05-22 13:10:58 -07:00
Neil Fraser
6fdab711b2 Fix several RTL bugs. 2015-05-19 12:02:49 -07:00
Neil Fraser
ede636361d Simplify workspace resizing. 2015-04-28 17:55:45 -07:00
Neil Fraser
17961f7f58 Support multiple Blockly instances. 2015-04-28 13:51:25 -07:00
Neil Fraser
29976c4c4d Remove outside border from Blockly (issue 92). 2015-04-07 20:27:26 -07:00
Neil Fraser
afda263f23 Lint warning cleanup. 2015-03-26 20:47:36 -07:00
Neil Fraser
764452eb10 Squeltch double-click highlighting on workspace and toolbox. 2015-03-17 12:20:56 -07:00
Neil Fraser
b91471abdb Scroll flyout to top when changing category. 2015-02-27 17:01:24 -08:00
Neil Fraser
c9addf7e31 Improve accuracy of goog.require calls. 2015-02-06 15:27:25 -08:00
Neil Fraser
816aa86992 Replace <hr> with <sep></sep> (issue 50). Alphabetize CSS. 2015-01-23 18:24:15 -08:00
Neil Fraser
1c39a638e3 Lint fixes. 2015-01-22 15:58:10 -08:00
Neil Fraser
8d358b96a0 Toolbox no longer hardcoded to main workspace. 2015-01-12 15:11:24 -08:00
Neil Fraser
4973db4df6 Use goog.global instead of this or window. 2014-12-23 16:44:00 -08:00
Neil Fraser
c9169285d9 Add red 'X' to mouse cursor if blocks are over toolbox. 2014-12-02 15:00:10 -08:00
Neil Fraser
0a191c1c50 Convert Blockly.Toolbox from a singleton to an instance. 2014-11-29 15:41:27 -08:00
Neil Fraser
5aed33b678 Add separators to toolbox. 2014-11-24 17:34:27 -08:00
Neil Fraser
0cb49f2682 Add 'media' config option. Deprecate 'path' config option. 2014-11-09 16:02:24 -08:00
Neil Fraser
6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3 Automatic commit Tue Jan 28 03:00:09 PST 2014 2014-01-28 03:00:09 -08:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00