Close blendshape selection window when it loses focus (#120)

This commit is contained in:
bd_ 2022-11-30 12:41:57 -08:00 committed by GitHub
parent 42618e464c
commit d66881fa80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,12 @@ namespace nadena.dev.modular_avatar.core.editor
{
titleContent = new GUIContent("Select blendshapes");
}
private void OnLostFocus()
{
Close();
}
void OnGUI()
{
var rect = new Rect(0, 0, position.width, position.height);