fix: html fullscreen when window not fullscreenable (#37348)

This commit is contained in:
Shelley Vohr 2023-02-21 12:11:34 +01:00 committed by GitHub
parent 868676aa5c
commit 32c60b29bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 7 deletions

View file

@ -619,7 +619,7 @@ void NativeWindowMac::SetFullScreen(bool fullscreen) {
return;
}
if (fullscreen == IsFullscreen())
if (fullscreen == IsFullscreen() || !IsFullScreenable())
return;
// Take note of the current window size