mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-11 23:19:00 +08:00
Close blendshape selection window when it loses focus
This commit is contained in:
parent
74861c5fff
commit
a259acbe41
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user