mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/ui: gofmt
This commit is contained in:
parent
d58ef294b2
commit
4b0967be42
@ -1610,10 +1610,10 @@ func (u *userInterfaceImpl) forceToRefreshIfNeeded() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
x, y := u.window.GetPos()
|
x, y := u.window.GetPos()
|
||||||
u.window.SetPos(x+1,y+1)
|
u.window.SetPos(x+1, y+1)
|
||||||
glfw.PollEvents()
|
glfw.PollEvents()
|
||||||
time.Sleep(time.Millisecond)
|
time.Sleep(time.Millisecond)
|
||||||
u.window.SetPos(x,y)
|
u.window.SetPos(x, y)
|
||||||
glfw.PollEvents()
|
glfw.PollEvents()
|
||||||
time.Sleep(time.Millisecond)
|
time.Sleep(time.Millisecond)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user