kopia lustrzana https://github.com/backface/turtlestitch
fixed static "costume" type for stage backgrounds
rodzic
b7a0af2f47
commit
027e0bf1e1
|
@ -6,11 +6,13 @@
|
|||
* **Notable Changes:**
|
||||
* **Notable Fixes:**
|
||||
* JSON encoding for nested lists
|
||||
* static "costume" type for stage backgrounds
|
||||
* **Documentation Updates:**
|
||||
* **Translation Updates:**
|
||||
|
||||
### 2022-02-07
|
||||
* lists: fixed JSON encoding for nested lists
|
||||
* objects: fixed static "costume" type for stage backgrounds
|
||||
|
||||
### 2022-02-04
|
||||
* new dev version
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<script src="src/widgets.js?version=2021-17-09"></script>
|
||||
<script src="src/blocks.js?version=2022-01-30"></script>
|
||||
<script src="src/threads.js?version=2022-01-31"></script>
|
||||
<script src="src/objects.js?version=2022-01-28"></script>
|
||||
<script src="src/objects.js?version=2022-02-07"></script>
|
||||
<script src="src/scenes.js?version=2021-11-24"></script>
|
||||
<script src="src/gui.js?version=2022-02-04"></script>
|
||||
<script src="src/paint.js?version=2021-07-05"></script>
|
||||
|
|
|
@ -87,7 +87,7 @@ BlockVisibilityDialogMorph, CostumeIconMorph, SoundIconMorph*/
|
|||
|
||||
/*jshint esversion: 6*/
|
||||
|
||||
modules.objects = '2022-January-28';
|
||||
modules.objects = '2022-February-07';
|
||||
|
||||
var SpriteMorph;
|
||||
var StageMorph;
|
||||
|
@ -1987,6 +1987,7 @@ SpriteMorph.prototype.fullCopy = function (forClone) {
|
|||
}
|
||||
});
|
||||
c.costumes = new List(arr);
|
||||
c.costumes.type = 'costume';
|
||||
arr = [];
|
||||
this.sounds.asArray().forEach(sound => {
|
||||
var snd = forClone ? sound : sound.copy();
|
||||
|
@ -7934,6 +7935,7 @@ StageMorph.prototype.init = function (globals) {
|
|||
this.customBlocks = [];
|
||||
this.globalBlocks = [];
|
||||
this.costumes = new List();
|
||||
this.costumes.type = 'costume';
|
||||
this.costume = null;
|
||||
this.sounds = new List();
|
||||
this.version = Date.now(); // for observers
|
||||
|
|
Ładowanie…
Reference in New Issue