internal/ui: bug fix: WindowSize returned a wrong value on fullscreen on macOS

Closes #2062
This commit is contained in:
Hajime Hoshi 2022-04-08 14:57:48 +09:00
parent ad66c3d90b
commit ee124baf60

View File

@ -701,7 +701,7 @@ func (u *userInterfaceImpl) registerWindowSetSizeCallback() {
if u.window.GetAttrib(glfw.Resizable) == glfw.False { if u.window.GetAttrib(glfw.Resizable) == glfw.False {
return return
} }
if u.isFullscreen() && !u.isNativeFullscreen() { if u.isFullscreen() {
return return
} }