-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi there. I know IMGUI is old-tech, but found myself in need of a tool like this and was happy to find this. Thank you!
2 issues, 1 I have a fix for but the other I don't.
-
In the inspector the window only shows the left half as the use of screen width is returning a much larger number. I think this is because of high DPI screens and the way Unity handles it. Anyway, the fix is to use EditorGUIUtility.currentViewWidth instead of Screen.width. Here is the fixed line #48 in MultiWindowEditor.cs:
_screenRect = new Rect(0, 0, EditorGUIUtility.currentViewWidth, Screen.height); -
The inspector is otherwise unresponsive. You can't select between Default, Custom and Options, nor change anything on the Default pane that's showing, but mouse over controls shows that it's working. Almost like GUI.enlabed got set to false somewhere.
Cheers,
Brett