Force stop panel drag/resize when starting Inspect Under Mouse

This commit is contained in:
Sinai
2021-05-15 20:39:29 +10:00
parent 83f15c7168
commit cccd02255f
2 changed files with 16 additions and 1 deletions

View File

@ -71,6 +71,8 @@ namespace UnityExplorer.UI.Inspectors
if (!MainCamera)
return;
PanelDragger.ForceEnd();
Mode = mode;
Inspecting = true;
UIManager.NavBarRect.gameObject.SetActive(false);