kopia lustrzana https://github.com/backface/turtlestitch
disabled dragging the project scene icon
rodzic
29d4742261
commit
e6a81406ce
|
@ -10,6 +10,7 @@
|
|||
|
||||
### 2021-05-19
|
||||
* gui: disabled scene icon context menu for project scene
|
||||
* gui: disabled dragging the project scene icon
|
||||
|
||||
### 2021-05-18
|
||||
* gui: fixed exporting media only for a single scene
|
||||
|
|
|
@ -10494,8 +10494,11 @@ SceneAlbumMorph.prototype.updateList = function () {
|
|||
};
|
||||
this.addBack(this.contents);
|
||||
|
||||
this.ide.scenes.asArray().forEach(scene => {
|
||||
this.ide.scenes.asArray().forEach((scene, i) => {
|
||||
icon = new SceneIconMorph(scene);
|
||||
if (i < 1) {
|
||||
icon.isDraggable = false; // project scene cannot be rearranged
|
||||
}
|
||||
icon.setPosition(new Point(x, y));
|
||||
this.addContents(icon);
|
||||
y = icon.bottom() + padding;
|
||||
|
|
Ładowanie…
Reference in New Issue