Commit Graph

3326 Commits

Author SHA1 Message Date
Neil Fraser
51bfa9455d More comprehensive approach to gesture detection.
Search all workspaces.  The flaw with looking at the workspace of the selected block is that dragging a workspace is a gesture but has no selected block.
2019-03-29 15:24:37 -07:00
Neil Fraser
e9de083361 Fix @return JSDocs. 2019-03-29 15:24:37 -07:00
Neil Fraser
68e134b073 No keyboard access to quarks during drag.
Same issue as zooming with the mouse wheel.
2019-03-29 15:24:37 -07:00
Neil Fraser
6862a7fe70 Use hashes instead of objects. 2019-03-29 15:24:37 -07:00
Neil Fraser
45e24c2b98 No need to check non-null before nullifying 2019-03-29 15:24:37 -07:00
Neil Fraser
6fb95f9038 Consistent speling. 2019-03-29 15:24:37 -07:00
Neil Fraser
87385b0721 Make drag detection more robust.
Previously, one could drag (and hold) a quark outside the bounds of a mutator bubble, then scroll, and the old code wouldn’t query the mutator for gestures.
2019-03-29 15:24:37 -07:00
Neil Fraser
46a4f33e4e Fix JSDoc 2019-03-29 15:24:37 -07:00
Neil Fraser
8254e2aa22 Failing unit tests no longer show useful info. 2019-03-29 15:24:37 -07:00
Neil Fraser
d6096accca Remove Blockly.WidgetDiv.position
Nobody appears to call it.
2019-03-29 15:24:37 -07:00
Neil Fraser
2fd931cab9 Add comment regarding async nature of listening. 2019-03-29 15:24:37 -07:00
Neil Fraser
6b06f8eefc Listener functions are no longer wrapped opaquely. 2019-03-29 15:24:37 -07:00
Neil Fraser
fd56526dfe Delete bad translation
This translates back as “% 1 is the name of the renamed variable” which is the translator’s description, not the message.
2019-03-29 15:24:37 -07:00
Neil Fraser
50519413d0 Line length 2019-03-29 15:24:37 -07:00
alschmiedt
8113e736c5 Merge pull request #2350 from alschmiedt/ignoreUrlsInEslint
Ignores urls for eslint
2019-03-29 11:17:48 -07:00
alschmiedt
ecd9c52fba Ignores urls for eslint 2019-03-29 11:06:08 -07:00
alschmiedt
8de82da361 Merge pull request #2349 from BeksOmega/fixes/TrashcanFlyoutPositioning
Fixed Trashcan Flyout Positioning
2019-03-29 10:52:08 -07:00
Beka Westberg
5b25843b98 Fixed trashcan flyout positioning. 2019-03-29 08:19:24 -07:00
translatewiki.net
3ff21e45b9 Localisation updates from https://translatewiki.net. 2019-03-28 19:31:07 +01:00
tojimjiang
25b883d920 Remove Python references in Dart math generator
Resolves #2329
Commit in develop branch
2019-03-27 15:48:03 -07:00
Neil Fraser
96cd8f95f3 Routine recompile
Closure changed, this clears an error.
2019-03-27 15:47:29 -07:00
Neil Fraser
405b1e4e78 Lint issues found while debugging. 2019-03-27 15:47:29 -07:00
Neil Fraser
dbafdcf1ff Prevent gestures from being broken by zoom/scroll. 2019-03-27 15:47:29 -07:00
Neil Fraser
c566c2e712 Fix comment on new message.
/// is needed to indicate translator message.
2019-03-27 15:47:29 -07:00
Neil Fraser
43208f7d2c Delete bad translation
This translates back as “% 1 is the name of the renamed variable” which is the translator’s description, not the message.
2019-03-27 15:47:29 -07:00
Rachel Fenichel
77decc4af2 Merge pull request #2328 from rachel-fenichel/path_debugging
Add a playgound for debugging SVG paths
2019-03-22 11:13:24 -07:00
Rachel Fenichel
7ff27bcfc9 Add license; translate the group, not the start point of the path 2019-03-22 11:13:04 -07:00
alschmiedt
84dfa29352 Merge pull request #2335 from alschmiedt/setTheme_fix
Set theme fix
2019-03-22 10:39:22 -07:00
alschmiedt
bf45c85bf1 Add private annotation 2019-03-22 10:14:43 -07:00
alschmiedt
b6b7ab0091 Refactor setTheme 2019-03-22 09:54:52 -07:00
alschmiedt
5c18e102ca Fixed setTheme so it doesn't error when no workspace is created 2019-03-21 15:32:18 -07:00
translatewiki.net
ba67d2082d Localisation updates from https://translatewiki.net. 2019-03-21 10:56:01 +01:00
Beka Westberg
e947471215 Fixed updateToolbox not properly updating flyouts. (#2332) 2019-03-19 15:48:52 -07:00
translatewiki.net
7fb7eb9a4d Localisation updates from https://translatewiki.net. 2019-03-18 08:44:20 +01:00
Rachel Fenichel
74adb31961 Add a playgound for debugging SVG paths 2019-03-14 17:46:19 -07:00
translatewiki.net
e54ad1cc7f Localisation updates from https://translatewiki.net. 2019-03-14 13:00:07 +01:00
alschmiedt
31274953d1 Merge pull request #2327 from alschmiedt/revert_2286
Reverts changes to fix bug with selecting dropdown
2019-03-12 10:47:38 -07:00
alschmiedt
715fdde945 Reverts changes to fix bug with selecting dropdown 2019-03-12 10:39:09 -07:00
Andrew Au
d919b4369d Fix issue 2061 (#2326) 2019-03-12 09:50:49 -07:00
alschmiedt
4bf9943674 Merge pull request #2325 from amber-cd/amber-cd-style-name-change-develop
style -> categorystyle change
2019-03-08 08:30:55 -08:00
translatewiki.net
092ddffb57 Localisation updates from https://translatewiki.net. 2019-03-07 16:06:27 +01:00
Amber
9a3801ab0f blockly_compressed was still off. 2019-03-06 09:30:45 -05:00
Amber
cc0a8e488f Merge branch 'amber-cd-style-name-change-develop' of https://github.com/amber-cd/blockly into amber-cd-style-name-change-develop 2019-03-06 09:27:14 -05:00
Amber
824f933310 Missed a few reversions 2019-03-06 09:26:18 -05:00
amber-cd
766960ce98 Reset blockly_compressed 2019-03-06 09:23:15 -05:00
Amber
62fdfdcb89 Removed build changes 2019-03-06 09:10:18 -05:00
Amber
77dd99a65b Ran build.py 2019-03-05 09:13:50 -05:00
amber-cd
a655e48841 Update playground.html 2019-03-05 08:42:31 -05:00
amber-cd
c2f30d4ca6 Update toolbox.js
Changed style attribute to categorystyle.
2019-03-05 08:39:20 -05:00
Rachel Fenichel
47fff5cddb Merge pull request #2313 from rachel-fenichel/feature/dropdowndiv
Add dropdowndiv and use it for the colour picker and angle fields
2019-03-01 12:54:39 -08:00