Skip to content

Commit 58a937d

Browse files
authored
Merge pull request #25 from kwan3854/23-bug-batch-changer-select-button-area-covered-by-toggle-button
Fix toggle rect width
2 parents b19da23 + aab7de2 commit 58a937d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/FontBatchChanger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ private void DrawTMPTextEntry(FoundTMP f)
478478
EditorGUI.DrawRect(rect, bgColor);
479479

480480
// Show checkbox
481-
Rect toggleRect = new Rect(rect.x, rect.y, rect.width, rect.height);
481+
Rect toggleRect = new Rect(rect.x, rect.y, rect.width - 60 - 120, rect.height);
482482
f.Selected = EditorGUI.Toggle(toggleRect, f.Selected);
483483

484484
// Determine prefix based on Group by Font state

0 commit comments

Comments
 (0)