mirror of https://github.com/liamg/aminal.git
Merge branch 'master' into fix-ignore-config-flag
This commit is contained in:
commit
12fba9ab90
|
@ -149,6 +149,10 @@ func (gui *GUI) scale() float32 {
|
|||
// can only be called on OS thread
|
||||
func (gui *GUI) resize(w *glfw.Window, width int, height int) {
|
||||
|
||||
if gui.window.GetAttrib(glfw.Iconified) != 0 {
|
||||
return
|
||||
}
|
||||
|
||||
gui.resizeLock.Lock()
|
||||
defer gui.resizeLock.Unlock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue