mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
ui: Bug fix: SetPos should be called after Show at least on Linux
This commit is contained in:
parent
6e98e0716d
commit
0a07d8531b
@ -114,8 +114,8 @@ func (u *userInterface) start(width, height, scale int, title string) (actualSca
|
||||
|
||||
u.setScreenSize(width, height, scale)
|
||||
u.window.SetTitle(title)
|
||||
u.window.SetPos(x, y)
|
||||
u.window.Show()
|
||||
u.window.SetPos(x, y)
|
||||
|
||||
return u.actualScale, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user