kopia lustrzana https://github.com/backface/turtlestitch
updated credits and version dates
and took care of a few minor formatting nitpickspull/29/head
rodzic
666f8dbcfe
commit
af85a01a73
22
gui.js
22
gui.js
|
@ -52,6 +52,8 @@
|
|||
Nathan Dinsmore contributed saving and loading of projects,
|
||||
ypr-Snap! project conversion and countless bugfixes
|
||||
Ian Reynolds contributed handling and visualization of sounds
|
||||
Michael Ball contributed the LibraryImportDialogMorph and countless
|
||||
utilities to load libraries from relative urls
|
||||
|
||||
*/
|
||||
|
||||
|
@ -78,6 +80,7 @@ modules.gui = '2017-January-09';
|
|||
|
||||
var IDE_Morph;
|
||||
var ProjectDialogMorph;
|
||||
var LibraryImportDialogMorph;
|
||||
var SpriteIconMorph;
|
||||
var CostumeIconMorph;
|
||||
var TurtleIconMorph;
|
||||
|
@ -2915,7 +2918,7 @@ IDE_Morph.prototype.projectMenu = function () {
|
|||
var libraries = myself.parseResourceFile(txt);
|
||||
new LibraryImportDialogMorph(myself, libraries).popUp();
|
||||
}
|
||||
)
|
||||
);
|
||||
},
|
||||
'Select categories of additional blocks to add to this project.'
|
||||
);
|
||||
|
@ -3178,7 +3181,7 @@ IDE_Morph.prototype.aboutSnap = function () {
|
|||
module, btn1, btn2, btn3, btn4, licenseBtn, translatorsBtn,
|
||||
world = this.world();
|
||||
|
||||
aboutTxt = 'Snap! 4.0.10 - dev -\nBuild Your Own Blocks\n\n'
|
||||
aboutTxt = 'Snap! 4.0.10 - rc -\nBuild Your Own Blocks\n\n'
|
||||
+ 'Copyright \u24B8 2017 Jens M\u00F6nig and '
|
||||
+ 'Brian Harvey\n'
|
||||
+ 'jens@moenig.org, bh@cs.berkeley.edu\n\n'
|
||||
|
@ -3218,7 +3221,8 @@ IDE_Morph.prototype.aboutSnap = function () {
|
|||
+ '\n\nNathan Dinsmore: Saving/Loading, Snap-Logo Design, '
|
||||
+ '\ncountless bugfixes and optimizations'
|
||||
+ '\nKartik Chandra: Paint Editor'
|
||||
+ '\nMichael Ball: Time/Date UI, many bugfixes'
|
||||
+ '\nMichael Ball: Time/Date UI, Library Import Dialog,'
|
||||
+ '\ncountless bugfixes and optimizations'
|
||||
+ '\nBartosz Leper: Retina Display Support'
|
||||
+ '\nBernat Romagosa: Countless contributions'
|
||||
+ '\n"Ava" Yuan Yuan, Dylan Servilla: Graphic Effects'
|
||||
|
@ -6476,16 +6480,16 @@ LibraryImportDialogMorph.prototype.fixLayout = function () {
|
|||
|
||||
// Library Cache Utilities.
|
||||
LibraryImportDialogMorph.prototype.hasCached = function (key) {
|
||||
return this.libraryCache.hasOwnProperty(key)
|
||||
}
|
||||
return this.libraryCache.hasOwnProperty(key);
|
||||
};
|
||||
|
||||
LibraryImportDialogMorph.prototype.cacheLibrary = function (key, blocks) {
|
||||
this.libraryCache[key] = blocks ;
|
||||
}
|
||||
};
|
||||
|
||||
LibraryImportDialogMorph.prototype.cachedLibrary = function (key) {
|
||||
return this.libraryCache[key];
|
||||
}
|
||||
};
|
||||
|
||||
LibraryImportDialogMorph.prototype.importLibrary = function () {
|
||||
var blocks,
|
||||
|
@ -6512,7 +6516,7 @@ LibraryImportDialogMorph.prototype.importLibrary = function () {
|
|||
}
|
||||
|
||||
this.destroy();
|
||||
}
|
||||
};
|
||||
|
||||
LibraryImportDialogMorph.prototype.displayBlocks = function (libraryKey) {
|
||||
var x, y, blockImage, previousCategory, blockContainer,
|
||||
|
@ -6550,7 +6554,7 @@ LibraryImportDialogMorph.prototype.displayBlocks = function (libraryKey) {
|
|||
this.palette.scrollX(padding);
|
||||
this.palette.scrollY(padding);
|
||||
this.fixLayout();
|
||||
}
|
||||
};
|
||||
|
||||
LibraryImportDialogMorph.prototype.showMessage = function (msgText) {
|
||||
var msg = new MenuMorph(null, msgText);
|
||||
|
|
10
history.txt
10
history.txt
|
@ -3258,6 +3258,11 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
|||
------
|
||||
* Blocks: fixed #1608
|
||||
|
||||
170109
|
||||
------
|
||||
* GUI: “#run:” flags, thanks, Brian!
|
||||
* GUI: Libraries Browser, thanks, Michael!
|
||||
|
||||
|
||||
== v4.10 === (in development)
|
||||
|
||||
|
@ -3274,9 +3279,12 @@ Features:
|
|||
* highly experimental infix-expression-to-reporter parser. Thanks, Bernat, for the brilliant idea to add it to the search-blocks field!
|
||||
* hierarchical menus, also for custom blocks, thanks, Brian!
|
||||
* variable refactoring, thanks, Bernat!
|
||||
* “#run:” flags (same as “#present:”): ’editMode’, ‘noRun’, ‘hideControls’, thanks, Brian!
|
||||
* Libraries Browser, thanks, Michael!
|
||||
|
||||
Fixes:
|
||||
* Music (play note) to work again in new and recent browser versions (Chrome 55)
|
||||
* IDE layout: fixed resizing issues when the window becomes too small
|
||||
* Translation updates (Russian, Polish, Danish, Portuguese, Catalan, German)
|
||||
* Keep left-over blocks from “relabel” around
|
||||
* Evaluate the generic WHEN-hat block’s predicate and first step of the attached script in the same atom
|
||||
* Translation updates (Russian, Polish, Danish, Portuguese, Catalan, German)
|
||||
|
|
|
@ -1128,6 +1128,7 @@
|
|||
Davide Della Casa contributed performance optimizations for Firefox.
|
||||
Jason N (@cyderize) contributed native copy & paste for text editing.
|
||||
Bartosz Leper contributed retina display support.
|
||||
Brian Harvey contributed to the design and implemenatation of submenus.
|
||||
|
||||
- Jens Mönig
|
||||
*/
|
||||
|
|
Ładowanie…
Reference in New Issue