ui: Bug fix: SetPos should be called after Show at least on Linux

This commit is contained in:
Hajime Hoshi 2016-02-21 23:11:39 +09:00
parent 6e98e0716d
commit 0a07d8531b

View File

@ -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
}