mirror of https://github.com/liamg/aminal.git
set minimum window size
This commit is contained in:
parent
24a7c629e1
commit
6e34e5ee85
|
@ -337,6 +337,7 @@ func (gui *GUI) createWindow(width int, height int) (*glfw.Window, error) {
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("Failed to create window: %s", err)
|
||||
}
|
||||
window.SetSizeLimits(300, 150, 10000, 10000)
|
||||
window.MakeContextCurrent()
|
||||
|
||||
return window, nil
|
||||
|
|
Loading…
Reference in New Issue