Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit ade7219

Browse files
Merge pull request #279 from deckgo/fullscreen-default-presenting
feat(#263): when switching to fullscreen mode, presenting mode per default not the edition mode
2 parents e4bb47f + 96a875a commit ade7219

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

studio/src/app/pages/editor/app-editor/app-editor.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,9 @@ export class AppEditor {
430430
return;
431431
}
432432

433+
// Per default, when we switch to the fullscreen mode, we want to present the presentation not edit it
434+
this.presenting = !this.fullscreen;
435+
433436
await this.editorEventsHandler.selectDeck();
434437
await (deck as any).toggleFullScreen();
435438

0 commit comments

Comments
 (0)