mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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 {
|
if u.window.GetAttrib(glfw.Resizable) == glfw.False {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if u.isFullscreen() && !u.isNativeFullscreen() {
|
if u.isFullscreen() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user