Browse Source

Изменения от Главреда ГитЖС | Changes of GitJS Glavred

master
Главред | Glavred 3 years ago
parent
commit
acee2a7fad
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      0000
  2. +5
    -0
      full-screen-helper.js

+ 1
- 1
0000 View File

@@ -1,5 +1,5 @@
Проверить Full Screen Helper
0.1.1
0.1.2
https://git.opengamestudio.org/kornerr/nPOBEPuTb-FullScreenHelper

/full-screen-helper.js


+ 5
- 0
full-screen-helper.js View File

@@ -144,6 +144,7 @@
}

function fallbackRequest(element) {
console.debug("fallbackRequest");
if (!escEvt) {
escEvt = true;

@@ -162,6 +163,8 @@
}

useviewport = allowviewport;
console.debug("fallbackReqeust.userviewport");

if (useviewport) request(element);
}
@@ -199,6 +202,8 @@
element = isValid(element);

if (!element) return;
console.debug("element is valid");

if (sc) {
element.requestFullscreen();


Loading…
Cancel
Save