Michael Aschauer
5185df0d90
remove empty lines
2017-01-04 16:50:34 +01:00
Michael Aschauer
e0ebd36ab7
new branch
2017-01-04 16:48:43 +01:00
jmoenig
cae286d346
prevent inherited variables from being refactored
...
and from causing an error because they can’t be.
Also, changed wording of variable renaming menu items
and added a shadow to the variable block symbol in the dialog box (so
it looks the same as the one that’s already in use elsewhere)
2017-01-04 16:35:09 +01:00
Jens Mönig
5117cd4a40
Merge pull request #1599 from bromagosa/var-rename
...
Variable refactorer
2017-01-04 14:57:48 +01:00
bromagosa
b10e4e1142
new wording
2017-01-04 10:32:35 +01:00
bromagosa
4ce250a2ef
Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into var-rename
2017-01-04 10:30:48 +01:00
Michael Ball
dd914a37bb
fix function binding problem that I thought worked...
2017-01-03 15:26:21 -08:00
Michael Ball
40234da3e8
slightly better fixLayout for library import
2017-01-03 12:35:16 -08:00
jmoenig
9bd2e9cec9
Morphic: use submenus for hierarchyMenu
2017-01-03 17:57:31 +01:00
brianharvey
c6fc4c89f5
Remove duplicate backgrounds
...
Fixes #1598
2017-01-03 08:42:25 -08:00
jmoenig
b9539918bf
removed obsolete code for custom block hover-help
2017-01-03 17:37:37 +01:00
jmoenig
1843e29087
submenu enhancements
...
* improve keyboard navigation (use right-/left-arrows to enter/leave)
* delay popping up submenus when mousing over submenu items
* right-align submenu indicator (same as a shortcut)
* keep submenus open if the mouse leaves them
* support creating custom drop-downs from nested dictionaries
2017-01-03 17:24:25 +01:00
Jens Mönig
4adeaa5f3d
Merge pull request #1587 from brianharvey/hierarchical
...
Hierarchical Menus
2017-01-03 15:56:38 +01:00
Michael Ball
ecc3182c0e
slightly further simplification
2017-01-03 03:41:38 -08:00
Michael Ball
ed492f3f6e
simplify layout logic for library importing
2017-01-03 03:25:55 -08:00
bromagosa
2de41daf4a
Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into var-rename
2017-01-03 11:36:36 +01:00
bromagosa
7623cc9f4a
Custom block templates also visited, both options available from context menu
2017-01-03 11:35:36 +01:00
Michael Ball
f327f0d4b1
undo cleverness and show all blocks when importing
2017-01-03 02:00:18 -08:00
Michael Ball
d26049680d
Merge branch 'master' into michael/lib-preview
...
* master:
add pentrails->costume block to penTrails library
Add reporters to setrgb library
Update LEAP library to use menus
Hide setting for “prefer smooth animations”
Disabled hover-help for custom blocks
2017-01-03 01:55:49 -08:00
Michael Ball
ec2a64963c
Dont reserialize blocks when importing
2017-01-03 00:36:41 -08:00
Michael Ball
bede779d8a
cleanup code, fix scrolling in library import
2017-01-03 00:15:46 -08:00
Joan Guillén i Pelegay
5f6920c631
Adding new (future) javascript control options
2017-01-02 11:02:04 +01:00
Joan Guillén i Pelegay
d0a26d9f67
translations of 'make a morph'
2017-01-02 10:57:14 +01:00
Michael Ball
a624a19017
Update libraries descriptions
2017-01-02 01:55:11 -08:00
Joan Guillén i Pelegay
01c15d0583
adding translations of developer menu
2017-01-02 10:23:30 +01:00
Joan Guillén i Pelegay
f48b06163f
Updating translations to last code changes
2017-01-02 02:50:27 +01:00
Michael Ball
cb865a864f
import tools shows block images
2017-01-01 15:05:06 -08:00
brianharvey
4c29609163
Add keyboard support for submenus
...
Right arrow enters selected submenu.
Enter and Esc do the right thing in submenu.
2016-12-31 00:00:47 -08:00
Brian Harvey
6ef0da51d7
Merge pull request #1593 from brianharvey/leap
...
Updates to three libraries: LEAP to use menu inputs, setrgb to include reporters, and penTrails to allow creating sprite costume from saved pentrail.
2016-12-30 23:43:40 -05:00
brianharvey
66dd397d22
Merge remote-tracking branch 'jmoenig/master' into hierarchical
2016-12-30 20:39:19 -08:00
brianharvey
f02a47416c
Merge remote-tracking branch 'jmoenig/master' into leap
2016-12-30 20:34:30 -08:00
brianharvey
51f995aaac
add pentrails->costume block to penTrails library
2016-12-30 20:32:57 -08:00
brianharvey
af85a49d81
Add reporters to setrgb library
2016-12-30 19:07:20 -08:00
brianharvey
85d4b29a0f
Update LEAP library to use menus
2016-12-30 18:38:00 -08:00
bromagosa
c462786a9a
Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into var-rename
2016-12-30 13:35:11 +01:00
bromagosa
f60ddf7c4c
check for conflicting names in formal params and already existing vars
2016-12-30 13:32:34 +01:00
Michael Ball
ee6ba75388
tweak libraries loading
2016-12-30 01:21:05 -08:00
Michael Ball
9ca2848f33
loading indicator works, some cleanup
2016-12-30 00:38:21 -08:00
brianharvey
36b30bf5f2
oops typo
2016-12-29 23:46:18 -08:00
brianharvey
e4f8751fce
add API procedure, Michael review
2016-12-29 23:44:02 -08:00
brianharvey
954b2f828f
Fixes from summit meeting
...
I'm sure I've forgotten something...
1. Braces instead of arrows.
2. Fix the bug about non-unique ~ or }
3. Fix the jiggle when submenu reopened.
4. Respond to Jens review in github.
4a. Get rid of Boolean arg to popup.
Not done: find another home for doubleClickAction. Maybe later.
2016-12-29 19:57:35 -08:00
jmoenig
d24468522c
Hide setting for “prefer smooth animations”
...
(now - mostly - redundant because we’ve switched to animation frames)
2016-12-29 13:07:32 +01:00
jmoenig
c0d192bd1d
Disabled hover-help for custom blocks
...
some people find it annoying
2016-12-29 13:01:09 +01:00
Bernat Romagosa
0d65bc9b79
Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into var-rename
2016-12-29 12:23:01 +01:00
Bernat Romagosa
6c465a1845
accidentally left SnapCloudLocal in cloud.js
2016-12-29 12:22:36 +01:00
Bernat Romagosa
ce052a8dd5
Refactoring script vars and upvars, plus some enhancements
2016-12-29 12:19:45 +01:00
Bernat Romagosa
a179d3acf8
Merge branch 'var-rename' of https://github.com/bromagosa/Snapi into var-rename
2016-12-29 08:31:23 +01:00
Michael Ball
cd828736af
Merge branch 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks into michael/lib-preview
...
* 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks:
Update Libraries from s.b.e
updated locale version data
updated version date
Disable JS-Functions to protect users from malicious scripts
Revert "SNAP! → Snap!"
Adapting Chinese code langs to ISO Standard
Fixing minor typo in catalan translation
Deleting duplicate translation strings
fix merge comments
minor typos
SNAP! → Snap!
blocks.js fix code alignment
camelCase expprtResultPic for consistency
Align comment text
Morphic: cleanup `nop` calls
Fix minor help text
2016-12-28 22:43:52 -08:00
Michael Ball
ed9f2cd9bc
Libraries dialog layout WIP
2016-12-28 22:43:45 -08:00
brianharvey
6816da8ba2
further small Michael comments
2016-12-27 22:22:27 -08:00