Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Packages/com.unity.inputsystem/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ however, it has to be formatted properly to pass verification tests.
- Fixed an issue causing InvalidOperationException when entering playmode with domain reload disabled. [ISXB-1208](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1208).
- Fixed an issue where compiling Addressables with Input System package present would result in failed compilation due to `IInputAnalytic.TryGatherData` not being defined [ISXB-1203](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1203).
- Pinned Touch Samples sample package dependencies to avoid errors with Cinemachine 3.x and Probuilder 6.x. [ISXB-1245](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1245)
- Fixed an issue where dropdown menu for Path in Input Actions Editor could not be selected from any button position. [ISXB-1309](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1309)

## [1.12.0] - 2025-01-15

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,17 @@ public void OnGUI(Rect rect, GUIContent label = null, SerializedProperty propert

var lineRect = rect;
var labelRect = lineRect;
labelRect.width = EditorGUIUtility.labelWidth;
labelRect.width = EditorStyles.label.CalcSize(pathLabel).x + 20; // Fit to label with some padding
EditorGUI.LabelField(labelRect, pathLabel);
lineRect.x += labelRect.width;
lineRect.width -= labelRect.width;

var bindingTextRect = lineRect;
var editButtonRect = lineRect;

var bindingTextRectOffset = 80;
bindingTextRect.width += bindingTextRectOffset;
bindingTextRect.x -= bindingTextRectOffset + 20;
editButtonRect.x = bindingTextRect.x + bindingTextRect.width; // Place it directly after the textRect
bindingTextRect.x = labelRect.x + labelRect.width; // Place directly after labelRect
editButtonRect.x += lineRect.width - 20; // Place at the edge of the window to appear after bindingTextRect
bindingTextRect.width = editButtonRect.x - bindingTextRect.x; // bindingTextRect fills remaining space between label and editButton
editButtonRect.width = 20;
editButtonRect.height = 15;

Expand Down