fix: disable focused checkbox
parent
563e1ec348
commit
5693203e77
|
@ -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;
|
||||||
|
|
||||||
|
|
Reference in New Issue