13
0

WS: Add a fullscreen toggle to the mixer demo

This commit is contained in:
Luciano Iam 2020-07-25 18:09:12 +02:00
parent 43c1929b7d
commit ec2972df66

View File

@ -138,7 +138,12 @@ import { createRootContainer, Container, Dialog, Label, Button, DiscreteKnob,
function setupFullscreenButton () {
const doc = document.documentElement,
<<<<<<< HEAD
button = document.getElementById('fullscreen');
=======
button = document.getElementById('fullscreen'),
touchOrClick = ('ontouchstart' in doc) ? 'touchstart' : 'click';
>>>>>>> WS: Add a fullscreen toggle to the mixer demo
let requestFullscreen = null, fullscreenChange = null;