kopia lustrzana https://github.com/backface/turtlestitch
fixed deleting a single command inside a stack
which somehow got broken when allowing commands inside reporter ringspull/89/head
rodzic
7fc78b053b
commit
ba347990c1
|
@ -41,6 +41,9 @@
|
|||
* Greek, thanks, Alexandros!
|
||||
* German
|
||||
|
||||
### 2019-02-21
|
||||
* Blocks: fixed deleting a single command inside a stack
|
||||
|
||||
### 2019-02-20
|
||||
* Tweaked German translation
|
||||
* Vector editor color name changes, thanks, Brian!
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<link rel="shortcut icon" href="src/favicon.ico">
|
||||
<script type="text/javascript" src="src/morphic.js?version=2019-02-07"></script>
|
||||
<script type="text/javascript" src="src/widgets.js?version=2018-10-02"></script>
|
||||
<script type="text/javascript" src="src/blocks.js?version=2019-02-15"></script>
|
||||
<script type="text/javascript" src="src/blocks.js?version=2019-02-21"></script>
|
||||
<script type="text/javascript" src="src/threads.js?version=2019-02-19"></script>
|
||||
<script type="text/javascript" src="src/objects.js?version=2019-02-18"></script>
|
||||
<script type="text/javascript" src="src/gui.js?version=2019-02-20"></script>
|
||||
|
|
|
@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2019-February-15';
|
||||
modules.blocks = '2019-February-21';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -4805,7 +4805,9 @@ CommandBlockMorph.prototype.userDestroyJustThis = function () {
|
|||
this.destroy(true); // just this block
|
||||
}
|
||||
if (nb) {
|
||||
if (above instanceof CommandSlotMorph, RingReporterSlotMorph) {
|
||||
if (above instanceof CommandSlotMorph ||
|
||||
above instanceof RingReporterSlotMorph
|
||||
) {
|
||||
above.nestedBlock(nb);
|
||||
} else if (above instanceof CommandBlockMorph) {
|
||||
above.nextBlock(nb);
|
||||
|
|
Ładowanie…
Reference in New Issue