Request full screen on document instead of viewer wrapper (to keep the sidebar).

This commit is contained in:
Jared 2020-12-19 12:02:42 -08:00 committed by Jared Goodwin
parent 0cf277ae87
commit eb5c1c1efc

View File

@ -165,7 +165,7 @@ export function ApplyInputHandlers() {
}
});
FullScreenButton.addEventListener("click", () => {
ScreenViewerWrapper.requestFullscreen();
document.body.requestFullscreen();
})
BlockInputButton.addEventListener("click", (ev) => {
if (ViewerApp.ViewOnlyMode) {