Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit b26c5f1

Browse files
Increasing icon size
1 parent 7720511 commit b26c5f1

File tree

1 file changed

+3
-1
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/UI

1 file changed

+3
-1
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/LocksView.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ private void RenderEntry(Rect entryRect, GitLockEntry entry, int index)
104104
{
105105
var isSelected = index == SelectedIndex;
106106

107-
var iconRect = new Rect(entryRect.x + Styles.BaseSpacing / 2, entryRect.y + (Styles.LocksEntryHeight - 32) / 2, 32 + Styles.BaseSpacing, 32);
107+
var iconWidth = 48;
108+
var iconHeight = 48;
109+
var iconRect = new Rect(entryRect.x + Styles.BaseSpacing / 2, entryRect.y + (Styles.LocksEntryHeight - iconHeight) / 2, iconWidth + Styles.BaseSpacing, iconHeight);
108110

109111
var xIconRectRightSidePadded = iconRect.x + iconRect.width;
110112

0 commit comments

Comments
 (0)