Commit 495b4a1f authored by Andre Hanke's avatar Andre Hanke

added fullscreen to toggle button

parent 5cf51113
......@@ -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