Commit ae99d79
committed
FIX: Enforce a minimum window size on the Input Debugger window [UUM-137119]
The Input Debugger window never assigned a minimum size, so it could be resized arbitrarily small until its toolbar and device/action/layout tree view were no longer usably visible.
InputDebuggerWindow.OnEnable() previously set only titleContent; it now also assigns minSize = new Vector2(270, 300), mirroring the sibling InputDeviceDebuggerWindow. Setting the minimum in OnEnable rather than CreateOrShow() re-applies it after domain reloads and when a persisted or docked window is restored from the editor layout, not only when the window is first opened from the menu.
Jira: https://jira.unity3d.com/browse/UUM-1371191 parent b6e9452 commit ae99d79
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- Packages/com.unity.inputsystem
- InputSystem/Editor/Debugger
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments