pull/29/head
bromagosa 2016-12-30 13:35:11 +01:00
commit c462786a9a
3 zmienionych plików z 19 dodań i 6 usunięć

15
byob.js
Wyświetl plik

@ -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
Wyświetl plik

@ -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',

Wyświetl plik

@ -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)