kopia lustrzana https://github.com/backface/turtlestitch
Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into var-rename
commit
c462786a9a
15
byob.js
15
byob.js
|
@ -102,13 +102,12 @@ AlignmentMorph, ToggleMorph, InputFieldMorph, ReporterBlockMorph,
|
||||||
StringMorph, nop, newCanvas, radians, BoxMorph, ArrowMorph, PushButtonMorph,
|
StringMorph, nop, newCanvas, radians, BoxMorph, ArrowMorph, PushButtonMorph,
|
||||||
contains, InputSlotMorph, ToggleButtonMorph, IDE_Morph, MenuMorph, copy,
|
contains, InputSlotMorph, ToggleButtonMorph, IDE_Morph, MenuMorph, copy,
|
||||||
ToggleElementMorph, Morph, fontHeight, StageMorph, SyntaxElementMorph,
|
ToggleElementMorph, Morph, fontHeight, StageMorph, SyntaxElementMorph,
|
||||||
SnapSerializer, CommentMorph, localize, CSlotMorph, SpeechBubbleMorph,
|
SnapSerializer, CommentMorph, localize, CSlotMorph, MorphicPreferences,
|
||||||
MorphicPreferences, SymbolMorph, isNil, CursorMorph, VariableFrame,
|
SymbolMorph, isNil, CursorMorph, VariableFrame, WatcherMorph, Variable*/
|
||||||
WatcherMorph, Variable*/
|
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.byob = '2016-December-27';
|
modules.byob = '2016-December-29';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -948,6 +947,9 @@ CustomCommandBlockMorph.prototype.deleteBlockDefinition = function () {
|
||||||
|
|
||||||
// CustomCommandBlockMorph events:
|
// CustomCommandBlockMorph events:
|
||||||
|
|
||||||
|
// hover help - commented out for now
|
||||||
|
/*
|
||||||
|
|
||||||
CustomCommandBlockMorph.prototype.mouseEnter = function () {
|
CustomCommandBlockMorph.prototype.mouseEnter = function () {
|
||||||
var comment, help;
|
var comment, help;
|
||||||
if (this.isTemplate && this.definition.comment) {
|
if (this.isTemplate && this.definition.comment) {
|
||||||
|
@ -982,6 +984,8 @@ CustomCommandBlockMorph.prototype.popUpbubbleHelp = function (
|
||||||
).popUp(this.world(), this.rightCenter().add(new Point(-8, 0)));
|
).popUp(this.world(), this.rightCenter().add(new Point(-8, 0)));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
// CustomCommandBlockMorph relabelling
|
// CustomCommandBlockMorph relabelling
|
||||||
|
|
||||||
CustomCommandBlockMorph.prototype.relabel = function (alternatives) {
|
CustomCommandBlockMorph.prototype.relabel = function (alternatives) {
|
||||||
|
@ -1127,11 +1131,14 @@ CustomReporterBlockMorph.prototype.deleteBlockDefinition
|
||||||
|
|
||||||
// CustomReporterBlockMorph events:
|
// CustomReporterBlockMorph events:
|
||||||
|
|
||||||
|
// hover help - commented out for now
|
||||||
|
/*
|
||||||
CustomReporterBlockMorph.prototype.mouseEnter
|
CustomReporterBlockMorph.prototype.mouseEnter
|
||||||
= CustomCommandBlockMorph.prototype.mouseEnter;
|
= CustomCommandBlockMorph.prototype.mouseEnter;
|
||||||
|
|
||||||
CustomReporterBlockMorph.prototype.mouseLeave
|
CustomReporterBlockMorph.prototype.mouseLeave
|
||||||
= CustomCommandBlockMorph.prototype.mouseLeave;
|
= CustomCommandBlockMorph.prototype.mouseLeave;
|
||||||
|
*/
|
||||||
|
|
||||||
// CustomReporterBlockMorph bubble help:
|
// CustomReporterBlockMorph bubble help:
|
||||||
|
|
||||||
|
|
5
gui.js
5
gui.js
|
@ -72,7 +72,7 @@ isRetinaSupported, SliderMorph, Animation*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2016-December-27';
|
modules.gui = '2016-December-29';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -2706,7 +2706,8 @@ IDE_Morph.prototype.settingsMenu = function () {
|
||||||
'toggleVariableFrameRate',
|
'toggleVariableFrameRate',
|
||||||
StageMorph.prototype.frameRate,
|
StageMorph.prototype.frameRate,
|
||||||
'uncheck for greater speed\nat variable frame rates',
|
'uncheck for greater speed\nat variable frame rates',
|
||||||
'check for smooth, predictable\nanimations across computers'
|
'check for smooth, predictable\nanimations across computers',
|
||||||
|
true
|
||||||
);
|
);
|
||||||
addPreference(
|
addPreference(
|
||||||
'Flat line ends',
|
'Flat line ends',
|
||||||
|
|
|
@ -3223,6 +3223,11 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
------
|
------
|
||||||
* GUI, Threads, Objects, Store: Disable JS-Functions, to protect users from malicious scripts, commented out for now
|
* GUI, Threads, Objects, Store: Disable JS-Functions, to protect users from malicious scripts, commented out for now
|
||||||
|
|
||||||
|
161229
|
||||||
|
------
|
||||||
|
* BYOB: Disabled hover-help for custom blocks (some people find it annoying)
|
||||||
|
* GUI: Hide setting for “prefer smooth animations” (now - mostly - redundant)
|
||||||
|
|
||||||
|
|
||||||
== v4.10 === (in development)
|
== v4.10 === (in development)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue