mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-20 13:20:06 +08:00
Close blendshape selection window when it loses focus (#120)
This commit is contained in:
parent
42618e464c
commit
d66881fa80
@ -22,6 +22,11 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
titleContent = new GUIContent("Select blendshapes");
|
titleContent = new GUIContent("Select blendshapes");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnLostFocus()
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
void OnGUI()
|
void OnGUI()
|
||||||
{
|
{
|
||||||
var rect = new Rect(0, 0, position.width, position.height);
|
var rect = new Rect(0, 0, position.width, position.height);
|
||||||
|
Loading…
Reference in New Issue
Block a user