kopia lustrzana https://github.com/backface/turtlestitch
fixed an empty-slot detection issue
fixed an empty-slot detection issue (reported in the forums), but left it commented out for now, until researching the consequences ;-)pull/95/head
rodzic
8fdf385d25
commit
1fbb5005c5
|
@ -21,6 +21,7 @@
|
|||
### 2020-10-07
|
||||
* byob: added "settings" button to input slot dialog
|
||||
* symbols: added "gearPartial" icon
|
||||
* blocks: fixed an empty-slot detection issue (reported in the forums), but left it commented out for now, until researching the consequences ;-)
|
||||
|
||||
### 2020-10-06
|
||||
* blocks: disable blurred shadows inside input slots if the hidden "blurred shadows" setting is turned off
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<script src="src/morphic.js?version=2020-09-12"></script>
|
||||
<script src="src/symbols.js?version=2020-10-07"></script>
|
||||
<script src="src/widgets.js?version=2020-10-06"></script>
|
||||
<script src="src/blocks.js?version=2020-10-06"></script>
|
||||
<script src="src/blocks.js?version=2020-10-07"></script>
|
||||
<script src="src/threads.js?version=2020-10-05"></script>
|
||||
<script src="src/objects.js?version=2020-10-06"></script>
|
||||
<script src="src/gui.js?version=2020-10-06"></script>
|
||||
|
|
|
@ -158,7 +158,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2020-October-06';
|
||||
modules.blocks = '2020-October-07';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -388,6 +388,9 @@ SyntaxElementMorph.prototype.allEmptySlots = function () {
|
|||
// to empty input slots
|
||||
var empty = [];
|
||||
if (!(this instanceof RingMorph) &&
|
||||
// disregard custom C-slots, because they should be treated as
|
||||
// rings. Commented out for now...
|
||||
// !(this instanceof CSlotMorph && !this.isStatic) &&
|
||||
(this.selector !== 'reportJSFunction')) {
|
||||
this.children.forEach(morph => {
|
||||
if (morph.isEmptySlot && morph.isEmptySlot()) {
|
||||
|
|
Ładowanie…
Reference in New Issue