fix: html fullscreen when window not fullscreenable (#37348)
This commit is contained in:
parent
868676aa5c
commit
32c60b29bb
3 changed files with 46 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue