From c0d192bd1da7ee98a6bf1ce61186fb2a94fc3157 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 29 Dec 2016 13:01:09 +0100 Subject: [PATCH 1/2] Disabled hover-help for custom blocks some people find it annoying --- byob.js | 15 +++++++++++---- history.txt | 4 ++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/byob.js b/byob.js index f7b8e55e..d976917b 100644 --- a/byob.js +++ b/byob.js @@ -102,13 +102,12 @@ AlignmentMorph, ToggleMorph, InputFieldMorph, ReporterBlockMorph, StringMorph, nop, newCanvas, radians, BoxMorph, ArrowMorph, PushButtonMorph, contains, InputSlotMorph, ToggleButtonMorph, IDE_Morph, MenuMorph, copy, ToggleElementMorph, Morph, fontHeight, StageMorph, SyntaxElementMorph, -SnapSerializer, CommentMorph, localize, CSlotMorph, SpeechBubbleMorph, -MorphicPreferences, SymbolMorph, isNil, CursorMorph, VariableFrame, -WatcherMorph, Variable*/ +SnapSerializer, CommentMorph, localize, CSlotMorph, MorphicPreferences, +SymbolMorph, isNil, CursorMorph, VariableFrame, WatcherMorph, Variable*/ // Global stuff //////////////////////////////////////////////////////// -modules.byob = '2016-December-27'; +modules.byob = '2016-December-29'; // Declarations @@ -948,6 +947,9 @@ CustomCommandBlockMorph.prototype.deleteBlockDefinition = function () { // CustomCommandBlockMorph events: +// hover help - commented out for now +/* + CustomCommandBlockMorph.prototype.mouseEnter = function () { var comment, help; if (this.isTemplate && this.definition.comment) { @@ -982,6 +984,8 @@ CustomCommandBlockMorph.prototype.popUpbubbleHelp = function ( ).popUp(this.world(), this.rightCenter().add(new Point(-8, 0))); }; +*/ + // CustomCommandBlockMorph relabelling CustomCommandBlockMorph.prototype.relabel = function (alternatives) { @@ -1127,11 +1131,14 @@ CustomReporterBlockMorph.prototype.deleteBlockDefinition // CustomReporterBlockMorph events: +// hover help - commented out for now +/* CustomReporterBlockMorph.prototype.mouseEnter = CustomCommandBlockMorph.prototype.mouseEnter; CustomReporterBlockMorph.prototype.mouseLeave = CustomCommandBlockMorph.prototype.mouseLeave; +*/ // CustomReporterBlockMorph bubble help: diff --git a/history.txt b/history.txt index 097ab1bf..f791a011 100755 --- a/history.txt +++ b/history.txt @@ -3223,6 +3223,10 @@ 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 +161229 +------ +* BYOB: Disabled hover-help for custom blocks (some people find it annoying) + == v4.10 === (in development) From d24468522cafca3d6d82719908b93669e9b7c5b0 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 29 Dec 2016 13:07:32 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Hide=20setting=20for=20=E2=80=9Cprefer=20sm?= =?UTF-8?q?ooth=20animations=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (now - mostly - redundant because we’ve switched to animation frames) --- gui.js | 5 +++-- history.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gui.js b/gui.js index d7f5c778..a102572d 100644 --- a/gui.js +++ b/gui.js @@ -72,7 +72,7 @@ isRetinaSupported, SliderMorph, Animation*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2016-December-27'; +modules.gui = '2016-December-29'; // Declarations @@ -2706,7 +2706,8 @@ IDE_Morph.prototype.settingsMenu = function () { 'toggleVariableFrameRate', StageMorph.prototype.frameRate, 'uncheck for greater speed\nat variable frame rates', - 'check for smooth, predictable\nanimations across computers' + 'check for smooth, predictable\nanimations across computers', + true ); addPreference( 'Flat line ends', diff --git a/history.txt b/history.txt index f791a011..e86ebac6 100755 --- a/history.txt +++ b/history.txt @@ -3226,6 +3226,7 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation 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)