From 96a875af96cdb992805c66c61181b103ac55b8da Mon Sep 17 00:00:00 2001 From: peterpeterparker Date: Sun, 1 Sep 2019 14:34:51 +0200 Subject: [PATCH] feat(#263): when switching to fullscreen mode, presenting mode per default not the edition mode --- studio/src/app/pages/editor/app-editor/app-editor.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/studio/src/app/pages/editor/app-editor/app-editor.tsx b/studio/src/app/pages/editor/app-editor/app-editor.tsx index ff7f83be4..19a3610f1 100644 --- a/studio/src/app/pages/editor/app-editor/app-editor.tsx +++ b/studio/src/app/pages/editor/app-editor/app-editor.tsx @@ -430,6 +430,9 @@ export class AppEditor { return; } + // Per default, when we switch to the fullscreen mode, we want to present the presentation not edit it + this.presenting = !this.fullscreen; + await this.editorEventsHandler.selectDeck(); await (deck as any).toggleFullScreen();