Commit graph

24 commits

Author SHA1 Message Date
adroitwhiz
845a3723b2
Merge pull request from adroitwhiz/fix-sensing-of
Make event filtering stricter for move events (blockly#1892)
2020-07-09 14:33:04 -04:00
apple502j
bd4d913056 Localize custom block used alert 2020-05-29 16:17:08 +09:00
Rachel Fenichel
a6cbadc23f Make event filtering stricter for move events
Ported from blockly#1892
2020-05-17 20:06:13 -04:00
Rachel Fenichel
d37f554467 Fix undoing a drag to connect (blockly#1889) 2020-05-13 14:20:14 -04:00
Andrew Sliwinski
5b34893292
Revert "Throw Errors instead of using goog.asserts" 2018-08-22 15:29:43 -04:00
Rachel Fenichel
c88b1f8d2a Throw Errors instead of using goog.asserts 2018-07-24 16:21:15 -07:00
Rachel Fenichel
af4060c75b Add ordered option to getDescendants and all uses.
"
2018-05-16 12:51:41 -07:00
Rachel Fenichel
6a3692da01 Add the bubble dragger and ws comment basics 2018-05-11 16:35:31 -07:00
Rachel Fenichel
a7a5f41a7a Split events.js into multiple files and update tests 2018-05-09 15:34:36 -07:00
Rachel Fenichel
4836e55536 Break events.js into multiple files 2018-05-09 13:34:21 -07:00
Rachel Fenichel
3c992dee6a More lint and small changes from Blockly 2018-04-30 15:42:02 -07:00
Rachel Fenichel
48b1648013 Move block animation code to a new file 2018-04-16 15:33:10 -07:00
DD
3607419929 Remove setting wasOutside 2018-02-21 18:34:52 -05:00
DD
e97db46616 Allow drag event to propagate when the blocks are outside the workspace. This fixes a bug where share the love didnt work consistently 2018-02-20 17:19:58 -05:00
DD
92023c45ce Code review 2018-02-16 17:37:49 -05:00
DD
534eb28e83 Fix comments 2018-02-15 18:13:06 -05:00
DD
353fa3a078 Immediately undo move to outside blockly 2018-02-15 18:13:06 -05:00
DD
cc883b69c3 Only fire events when dragged outside 2018-02-15 18:13:06 -05:00
DD
450b2c91fa Pass block xml in end drag 2018-02-15 18:13:06 -05:00
DD
f057073552 Move style change to block css 2018-02-15 18:13:06 -05:00
DD
43780723e1 Send block drag events 2018-02-15 18:13:06 -05:00
Paul Kaplan
b791da9f3b Roll back drag definition deletion if it orphans call blocks. 2017-12-27 11:22:48 -05:00
Paul Kaplan
fce962c0fc Merge 06-22 2017-06-22 11:30:37 -04:00
Rachel Fenichel
6275e1137c New dragging! Merge from google ()
Port of a major refactor from Blockly.  Dragging logic now lives in block_dragger.js, gesture.js, workspace_dragger.js, dragged_connection_manager.js (unused by scratch-blocks), and insertion_marker_manager.js (used only by scratch-blocks).
2017-05-22 13:08:22 -07:00