Skip to content

Unresponsive in latest versions of Unity #1

@Brett-StrayThought

Description

@Brett-StrayThought

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.

  1. 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);

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions