kopia lustrzana https://github.com/backface/turtlestitch
fixed scroll-into-view glitch when adding scenes
rodzic
441e3e4d4d
commit
c9366286f9
|
@ -25,6 +25,7 @@
|
|||
* gui: accelerated unified palette scrolling animation
|
||||
* adjust scroll bars when refreshing the palette
|
||||
* store: commented out saving the unified palette setting in the project xml during development
|
||||
* gui: fixed scroll-into-view glitch when adding scenes
|
||||
|
||||
### 2021-07-07
|
||||
* morphic, gui: tweaked perish() animation
|
||||
|
|
|
@ -5631,6 +5631,7 @@ IDE_Morph.prototype.switchToScene = function (scene, refreshAlbum) {
|
|||
this.createCorral(!refreshAlbum); // keep scenes
|
||||
this.selectSprite(this.scene.currentSprite);
|
||||
this.corral.album.updateSelection();
|
||||
this.fixLayout();
|
||||
this.corral.album.contents.children.forEach(function (morph) {
|
||||
if (morph.state) {
|
||||
morph.scrollIntoView();
|
||||
|
@ -5638,7 +5639,6 @@ IDE_Morph.prototype.switchToScene = function (scene, refreshAlbum) {
|
|||
});
|
||||
scene.applyGlobalSettings();
|
||||
this.setUnifiedPalette(scene.unifiedPalette);
|
||||
this.fixLayout();
|
||||
this.world().keyboardFocus = this.stage;
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue