mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58: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() {
|
||||
return
|
||||
}
|
||||
if fullscreen == document.Get("fullscreenElement").Truthy() || fullscreen == document.Get("webkitFullscreenElement").Truthy() {
|
||||
if fullscreen == u.IsFullscreen() {
|
||||
return
|
||||
}
|
||||
if fullscreen {
|
||||
|
Loading…
Reference in New Issue
Block a user