fix: disable focused checkbox

develop
paring 2022-11-06 00:26:29 +09:00
parent 563e1ec348
commit 5693203e77
Signed by: pikokr
GPG Key ID: 2C097B03E9D823C4
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ namespace SkyHook.Editor
manager.requireFocus = EditorGUILayout.Toggle("Require Focus", manager.requireFocus); manager.requireFocus = EditorGUILayout.Toggle("Require Focus", manager.requireFocus);
GUI.enabled = manager.requireFocus; GUI.enabled = false;
SkyHookManager.isFocused = EditorGUILayout.Toggle("Focus", SkyHookManager.isFocused); SkyHookManager.isFocused = EditorGUILayout.Toggle("Focus", SkyHookManager.isFocused);
GUI.enabled = true; GUI.enabled = true;