mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
internal/ui: bug fix: WindowSize returned a wrong value on fullscreen on macOS
Closes #2062
This commit is contained in:
parent
ad66c3d90b
commit
ee124baf60
@ -701,7 +701,7 @@ func (u *userInterfaceImpl) registerWindowSetSizeCallback() {
|
||||
if u.window.GetAttrib(glfw.Resizable) == glfw.False {
|
||||
return
|
||||
}
|
||||
if u.isFullscreen() && !u.isNativeFullscreen() {
|
||||
if u.isFullscreen() {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user