mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/ui: refactoring
This commit is contained in:
parent
fcb7df0a59
commit
d3b83dd4ea
@ -129,7 +129,7 @@ func (u *userInterfaceImpl) SetFullscreen(fullscreen bool) {
|
|||||||
if !document.Truthy() {
|
if !document.Truthy() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if fullscreen == document.Get("fullscreenElement").Truthy() || fullscreen == document.Get("webkitFullscreenElement").Truthy() {
|
if fullscreen == u.IsFullscreen() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if fullscreen {
|
if fullscreen {
|
||||||
|
Loading…
Reference in New Issue
Block a user