Commit 495b4a1f authored by André Holger Hanke's avatar André Holger Hanke
Browse files

added fullscreen to toggle button

parent 5cf51113
...@@ -70,12 +70,14 @@ export class Rescale { ...@@ -70,12 +70,14 @@ export class Rescale {
switch (this.state) { switch (this.state) {
case 0: case 0:
this.reset(); this.reset();
document.exitFullscreen();
break; break;
case 1: case 1:
this.activate(); this.activate();
break; break;
case 2: case 2:
this.activateFull(); this.activateFull();
document.body.requestFullscreen();
break; break;
default: 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