fixed switching scenes in presentation mode

snap7
jmoenig 2021-07-29 15:00:18 +02:00
rodzic 0e540f478a
commit 384357457e
3 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -29,6 +29,9 @@
* German
* Chinese, thanks, Simon!
### 2021-07-29
* gui: fixed switching scenes in presentation mode
### 2021-07-23
* byob, objects, gui, store: support custom categories in libraries
* gui, byob: arrange custom categories alphabetically

Wyświetl plik

@ -20,7 +20,7 @@
<script src="src/threads.js?version=2021-07-20"></script>
<script src="src/objects.js?version=2021-07-23"></script>
<script src="src/scenes.js?version=2021-07-21"></script>
<script src="src/gui.js?version=2021-07-23"></script>
<script src="src/gui.js?version=2021-07-29"></script>
<script src="src/paint.js?version=2021-07-05"></script>
<script src="src/lists.js?version=2021-07-19"></script>
<script src="src/byob.js?version=2021-07-23"></script>

Wyświetl plik

@ -85,7 +85,7 @@ Animation, BoxMorph, BlockDialogMorph, RingMorph, Project, ZERO, BLACK*/
// Global stuff ////////////////////////////////////////////////////////
modules.gui = '2021-July-23';
modules.gui = '2021-July-29';
// Declarations
@ -5740,6 +5740,7 @@ IDE_Morph.prototype.openProject = function (project) {
};
IDE_Morph.prototype.switchToScene = function (scene, refreshAlbum) {
var appMode = this.isAppMode;
if (!scene || !scene.stage) {
return;
}
@ -5773,6 +5774,7 @@ IDE_Morph.prototype.switchToScene = function (scene, refreshAlbum) {
this.currentSprite.palette(this.currentCategory);
this.refreshPalette(true);
}
this.toggleAppMode(appMode);
this.world().keyboardFocus = this.stage;
};