Skip to content

Commit af76c9a

Browse files
committed
fullscreen fix
1 parent a4b5cb4 commit af76c9a

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

dist/assets/css/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ main {
5050
max-height: calc(100vh - 60px);
5151
}
5252

53+
:fullscreen, :-webkit-full-screen, ::backdrop {
54+
background: var(--bs-body-bg);
55+
}
5356
/* toolbars and buttons */
5457

5558
.primary-toolbar, .secondary-toolbar {

ts/controls.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@ function toggleFullscreen() {
109109
fullscreenBtn.classList.toggle("pressed");
110110
}
111111

112-
// document.addEventListener("webkitfullscreenchange", toggleFullscreen, false);
113-
// document.addEventListener("mozfullscreenchange", toggleFullscreen, false);
114-
// document.addEventListener("fullscreenchange", toggleFullscreen, false);
115-
// document.addEventListener("MSFullscreenChange", toggleFullscreen, false);
116-
117112
/**
118113
* Reloads the page.
119114
* @returns void

ts/files-load.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ function loadEvent() {
157157
ispy.event_list[ispy.event_index]
158158
} <strong>[${ievent} / ${ispy.event_list.length}]</strong>`;
159159

160-
console.log(ispy.current_event?.Types);
161-
console.log(ispy.current_event?.Collections.Products_V1);
160+
// console.log(ispy.current_event?.Types);
161+
// console.log(ispy.current_event?.Collections.Products_V1);
162162
}
163163
},
164164
(err) => {

0 commit comments

Comments
 (0)