kopia lustrzana https://github.com/backface/turtlestitch
little tweaks to GUI's cloud handling
rodzic
cf3758d77f
commit
e008bb704d
8
gui.js
8
gui.js
|
@ -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) {
|
||||||
|
|
Ładowanie…
Reference in New Issue