Commit 07947f0c authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel 🏀

Merge branch '150-realize-fullscreen-with-html-api' into 'master'

Added fullscreen to toggle button

Closes #150

See merge request frag.jetzt!148
parents 5cf51113 495b4a1f
......@@ -70,12 +70,14 @@ export class Rescale {
switch (this.state) {
case 0:
this.reset();
document.exitFullscreen();
break;
case 1:
this.activate();
break;
case 2:
this.activateFull();
document.body.requestFullscreen();
break;
default: break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment