mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-02 19:52:51 +08:00
Added support for closing AvMenuTreeViewWindow automatically when it loses focus. (#119)
This commit is contained in:
parent
62eef4d3a5
commit
42618e464c
@ -30,6 +30,11 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
_treeView.OnDoubleclickSelect = Close;
|
_treeView.OnDoubleclickSelect = Close;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnLostFocus()
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
private void OnDisable()
|
private void OnDisable()
|
||||||
{
|
{
|
||||||
OnMenuSelected = (menu) => { };
|
OnMenuSelected = (menu) => { };
|
||||||
|
Loading…
Reference in New Issue
Block a user