kopia lustrzana https://github.com/backface/turtlestitch
Set Default Save location to Cloud on Snap! load
When Snap! is loaded, Snap! will now check whether a user is logged in (via the presence of `SnapCloud.username`) and if so, the default save location will be the cloud.pull/3/merge
rodzic
5f3279990b
commit
0dcca0606c
2
gui.js
2
gui.js
|
@ -190,7 +190,7 @@ IDE_Morph.prototype.init = function (isAutoFill) {
|
|||
|
||||
// additional properties:
|
||||
this.cloudMsg = null;
|
||||
this.source = 'local';
|
||||
this.source = SnapCloud.username ? 'cloud' : 'local';
|
||||
this.serializer = new SnapSerializer();
|
||||
|
||||
this.globalVariables = new VariableFrame();
|
||||
|
|
Ładowanie…
Reference in New Issue