Skip to content

Commit ffb1879

Browse files
FIX: Icon fix for action maps buttons in background and resolution (#2314)
1 parent 6a58700 commit ffb1879

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditor.uxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<ui:VisualElement name="action-maps-container" class="body-panel-container actions-container">
2222
<ui:VisualElement name="header" class="body-panel-header">
2323
<ui:Label text="Action Maps" display-tooltip-when-elided="true" style="flex-grow: 1;" />
24-
<ui:Button display-tooltip-when-elided="true" name="add-new-action-map-button" style="align-items: auto; background-color: rgba(255, 255, 255, 0);" />
24+
<ui:Button display-tooltip-when-elided="true" name="add-new-action-map-button" style="align-items: auto;" />
2525
</ui:VisualElement>
2626
<ui:VisualElement name="body">
2727
<ui:ListView focusable="true" name="action-maps-list-view" />
@@ -32,7 +32,7 @@
3232
<ui:VisualElement name="actions-container" class="body-panel-container">
3333
<ui:VisualElement name="header" class="body-panel-header" style="justify-content: space-between;">
3434
<ui:Label text="Actions" display-tooltip-when-elided="true" name="actions-label" />
35-
<ui:Button display-tooltip-when-elided="true" name="add-new-action-button" style="align-items: auto; background-color: rgba(188, 188, 188, 0);" />
35+
<ui:Button display-tooltip-when-elided="true" name="add-new-action-button" style="align-items: auto;" />
3636
</ui:VisualElement>
3737
<ui:VisualElement name="body">
3838
<ui:TreeView view-data-key="unity-tree-view" focusable="true" name="actions-tree-view" show-border="false" reorderable="true" show-alternating-row-backgrounds="None" fixed-item-height="20" />

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/PackageResources/InputActionsEditorStyles.uss

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,30 +175,34 @@
175175
}
176176

177177
.add-binging-button-dark-theme {
178-
width: 14px;
179-
height: 14px;
178+
width: 16px;
179+
height: 16px;
180180
background-image: resource('d_Toolbar Plus More.png');
181+
background-color: transparent;
181182
-unity-background-scale-mode: scale-to-fit;
182183
}
183184

184185
.add-binging-button {
185-
width: 14px;
186-
height: 14px;
186+
width: 16px;
187+
height: 16px;
187188
background-image: resource('Toolbar Plus More.png');
189+
background-color: transparent;
188190
-unity-background-scale-mode: scale-to-fit;
189191
}
190192

191193
.add-button-dark-theme {
192-
width: 18px;
193-
height: 18px;
194+
width: 16px;
195+
height: 16px;
194196
background-image: resource('d_Toolbar Plus.png');
197+
background-color: transparent;
195198
-unity-background-scale-mode: scale-to-fit;
196199
}
197200

198201
.add-button {
199-
width: 18px;
200-
height: 18px;
202+
width: 16px;
203+
height: 16px;
201204
background-image: resource('Toolbar Plus.png');
205+
background-color: transparent;
202206
-unity-background-scale-mode: scale-to-fit;
203207
}
204208

0 commit comments

Comments
 (0)