Fix some editor panels to have focus on change
This commit is contained in:
@@ -228,6 +228,7 @@ namespace FlaxEditor.Tools.Foliage
|
|||||||
{
|
{
|
||||||
_presenter.Select(_proxy);
|
_presenter.Select(_proxy);
|
||||||
}
|
}
|
||||||
|
_presenter.Panel.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnModified()
|
private void OnModified()
|
||||||
|
|||||||
@@ -409,6 +409,7 @@ namespace FlaxEditor.Tools.Foliage
|
|||||||
{
|
{
|
||||||
_presenter.Deselect();
|
_presenter.Deselect();
|
||||||
}
|
}
|
||||||
|
_presenter.Panel.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RemoveFoliageType(int index)
|
private void RemoveFoliageType(int index)
|
||||||
|
|||||||
@@ -252,6 +252,7 @@ namespace FlaxEditor.Tools.Foliage
|
|||||||
{
|
{
|
||||||
_presenter.Deselect();
|
_presenter.Deselect();
|
||||||
}
|
}
|
||||||
|
_presenter.Panel.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateFoliageTypesList()
|
private void UpdateFoliageTypesList()
|
||||||
|
|||||||
Reference in New Issue
Block a user