Skip to content
Snippets Groups Projects
Commit 495b4a1f authored by André Holger Hanke's avatar André Holger Hanke
Browse files

added fullscreen to toggle button

parent 5cf51113
Branches
Tags
No related merge requests found
......@@ -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;
}
......
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