internal/ui: refactoring: indentation

This commit is contained in:
Hajime Hoshi 2022-08-10 15:47:50 +09:00
parent 2ab255dd1c
commit 085b64006d

View File

@ -1325,7 +1325,9 @@ func (u *userInterfaceImpl) setWindowSizeInDIPImpl(width, height int, fullscreen
u.swapBuffers()
}
}
} else {
return
}
if mw := u.minimumWindowWidth(); width < mw {
width = mw
}
@ -1363,7 +1365,6 @@ func (u *userInterfaceImpl) setWindowSizeInDIPImpl(width, height int, fullscreen
})
}
}
}
// updateVsync must be called on the main thread.
func (u *userInterfaceImpl) updateVsync() {