fixed a list-watcher cell-editing bug

pull/95/head
jmoenig 2020-06-26 12:26:06 +02:00
rodzic 8885a67282
commit 89a6ffb3f5
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -9,7 +9,7 @@
<script src="src/widgets.js?version=2020-05-06"></script>
<script src="src/blocks.js?version=2020-06-24"></script>
<script src="src/threads.js?version=2020-06-25"></script>
<script src="src/objects.js?version=2020-06-20"></script>
<script src="src/objects.js?version=2020-06-26"></script>
<script src="src/gui.js?version=2020-06-24"></script>
<script src="src/paint.js?version=2020-05-17"></script>
<script src="src/lists.js?version=2020-05-18"></script>

Wyświetl plik

@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph,
localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph,
HandleMorph, AlignmentMorph, Process, XML_Element, WorldMap, copyCanvas*/
modules.objects = '2020-June-20';
modules.objects = '2020-June-26';
var SpriteMorph;
var StageMorph;
@ -10965,7 +10965,7 @@ CellMorph.prototype.reactToEdit = function (textMorph) {
if (listWatcher) {
listWatcher.list.put(
textMorph.text,
this.idx + listWatcher.start - 1
this.idx
);
}
}