little tweaks to GUI's cloud handling

upd4.2
jmoenig 2018-06-15 12:45:19 +02:00
rodzic cf3758d77f
commit e008bb704d
1 zmienionych plików z 4 dodań i 4 usunięć

8
gui.js
Wyświetl plik

@ -29,7 +29,7 @@
prerequisites: prerequisites:
-------------- --------------
needs blocks.js, threads.js, objects.js and morphic.js needs blocks.js, threads.js, objects.js, cloud.jus and morphic.js
toc toc
@ -58,7 +58,7 @@
*/ */
/*global modules, Morph, SpriteMorph, SyntaxElementMorph, Color, /*global modules, Morph, SpriteMorph, SyntaxElementMorph, Color, Cloud,
ListWatcherMorph, TextMorph, newCanvas, useBlurredShadows, VariableFrame, ListWatcherMorph, TextMorph, newCanvas, useBlurredShadows, VariableFrame,
StringMorph, Point, MenuMorph, morphicVersion, DialogBoxMorph, StringMorph, Point, MenuMorph, morphicVersion, DialogBoxMorph,
ToggleButtonMorph, contains, ScrollFrameMorph, StageMorph, PushButtonMorph, ToggleButtonMorph, contains, ScrollFrameMorph, StageMorph, PushButtonMorph,
@ -75,7 +75,7 @@ isRetinaSupported, SliderMorph, Animation, BoxMorph, MediaRecorder*/
// Global stuff //////////////////////////////////////////////////////// // Global stuff ////////////////////////////////////////////////////////
modules.gui = '2018-June-14'; modules.gui = '2018-June-15';
// Declarations // Declarations
@ -6256,7 +6256,7 @@ ProjectDialogMorph.prototype.installCloudProjectList = function (pl) {
myself.preview.texture = ''; myself.preview.texture = '';
myself.preview.drawNew(); myself.preview.drawNew();
// we ask for the thumbnail when selecting a project // we ask for the thumbnail when selecting a project
myselfcloud.getThumbnail( myself.cloud.getThumbnail(
null, // username is implicit null, // username is implicit
item.projectname, item.projectname,
function (thumbnail) { function (thumbnail) {