kopia lustrzana https://github.com/backface/turtlestitch
fixed script highlight when editing an input slot
rodzic
d4a7caf0b9
commit
9164d74888
|
@ -7,7 +7,7 @@
|
||||||
<script src="src/morphic.js?version=2020-07-01"></script>
|
<script src="src/morphic.js?version=2020-07-01"></script>
|
||||||
<script src="src/symbols.js?version=2020-07-01"></script>
|
<script src="src/symbols.js?version=2020-07-01"></script>
|
||||||
<script src="src/widgets.js?version=2020-07-01"></script>
|
<script src="src/widgets.js?version=2020-07-01"></script>
|
||||||
<script src="src/blocks.js?version=2020-07-01"></script>
|
<script src="src/blocks.js?version=2020-07-02"></script>
|
||||||
<script src="src/threads.js?version=2020-07-02"></script>
|
<script src="src/threads.js?version=2020-07-02"></script>
|
||||||
<script src="src/objects.js?version=2020-07-01"></script>
|
<script src="src/objects.js?version=2020-07-01"></script>
|
||||||
<script src="src/gui.js?version=2020-07-01"></script>
|
<script src="src/gui.js?version=2020-07-01"></script>
|
||||||
|
|
|
@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.blocks = '2020-June-24';
|
modules.blocks = '2020-July-02';
|
||||||
|
|
||||||
var SyntaxElementMorph;
|
var SyntaxElementMorph;
|
||||||
var BlockMorph;
|
var BlockMorph;
|
||||||
|
@ -2056,8 +2056,10 @@ SyntaxElementMorph.prototype.fixLayout = function () {
|
||||||
if (this instanceof BlockMorph && this.parent && this.parent.fixLayout) {
|
if (this instanceof BlockMorph && this.parent && this.parent.fixLayout) {
|
||||||
this.parent.fixLayout();
|
this.parent.fixLayout();
|
||||||
this.parent.changed();
|
this.parent.changed();
|
||||||
|
if (this.parent instanceof SyntaxElementMorph) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.fixHighlight();
|
this.fixHighlight();
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue