Update PanelDragger to handle multiple panels, add panel 'focusing'

This commit is contained in:
Sinai
2021-04-17 04:05:27 +10:00
parent 876cffd864
commit 2e5fb72716
4 changed files with 164 additions and 73 deletions

View File

@ -89,6 +89,8 @@ namespace UnityExplorer.UI
if (InputManager.GetKeyDown(ConfigManager.Force_Unlock_Keybind.Value))
CursorUnlocker.Unlock = !CursorUnlocker.Unlock;
UIPanel.UpdateFocus();
UIBehaviourModel.UpdateInstances();
if (EventSystem.current != EventSys)