made sure the project scene stays in place

snap7
jmoenig 2021-05-19 16:39:46 +02:00
rodzic e6a81406ce
commit 9cc238f8ef
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -11,6 +11,7 @@
### 2021-05-19
* gui: disabled scene icon context menu for project scene
* gui: disabled dragging the project scene icon
* gui: made sure the project scene stays in place
### 2021-05-18
* gui: fixed exporting media only for a single scene

Wyświetl plik

@ -10555,6 +10555,7 @@ SceneAlbumMorph.prototype.reactToDropOf = function (icon) {
idx += 1;
}
});
idx = Math.max(idx, 1); // the project scene cannot the rearranged
this.ide.scenes.add(scene, idx + 1);
this.updateList();
icon.mouseClickLeft(); // select