kopia lustrzana https://github.com/backface/turtlestitch
improved loading custom block categories
rodzic
c2b4960253
commit
6e88f9e333
|
@ -7,11 +7,13 @@
|
|||
* **Notable Fixes:**
|
||||
* setting a clone's rotation coordinates shadows its inherited costumes
|
||||
* preserve embedded inputs when JOINing a nested expression with an empty list
|
||||
* improved loading custom block categories
|
||||
* **Documentation Updates:**
|
||||
* **Translation Updates:**
|
||||
|
||||
### 2021-12-20
|
||||
* blocks, threads: preserve embedded inputs when JOINing a nested expression with an empty list
|
||||
* objects: improved loading custom block categories
|
||||
|
||||
### 2021-12-18
|
||||
* new dev version
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<script src="src/widgets.js?version=2021-17-09"></script>
|
||||
<script src="src/blocks.js?version=2021-12-20"></script>
|
||||
<script src="src/threads.js?version=2021-12-20"></script>
|
||||
<script src="src/objects.js?version=2021-12-18"></script>
|
||||
<script src="src/objects.js?version=2021-12-20"></script>
|
||||
<script src="src/scenes.js?version=2021-11-24"></script>
|
||||
<script src="src/gui.js?version=2021-12-18"></script>
|
||||
<script src="src/paint.js?version=2021-07-05"></script>
|
||||
|
|
|
@ -87,7 +87,7 @@ BlockVisibilityDialogMorph*/
|
|||
|
||||
/*jshint esversion: 6*/
|
||||
|
||||
modules.objects = '2021-December-18';
|
||||
modules.objects = '2021-December-20';
|
||||
|
||||
var SpriteMorph;
|
||||
var StageMorph;
|
||||
|
@ -172,7 +172,9 @@ SpriteMorph.prototype.allCategories = function () {
|
|||
};
|
||||
|
||||
SpriteMorph.prototype.blockColorFor = function (category) {
|
||||
return this.blockColor[category] || this.customCategories.get(category);
|
||||
return this.blockColor[category] ||
|
||||
this.customCategories.get(category) ||
|
||||
this.blockColor.other;
|
||||
};
|
||||
|
||||
SpriteMorph.prototype.paletteColor = new Color(55, 55, 55);
|
||||
|
|
Ładowanie…
Reference in New Issue