Skip to content

Commit 0fb8345

Browse files
authored
Merge pull request #22 from kwan3854/19-bug-tmp-font-batch-changer-check-box-is-hardly-clickable
Fix checkbox width
2 parents c9523e8 + dc60b08 commit 0fb8345

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Editor/FontBatchChanger.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ private void DrawTMPTextEntry(FoundTMP f)
474474
EditorGUI.DrawRect(rect, bgColor);
475475

476476
// Show checkbox
477-
Rect toggleRect = new Rect(rect.x, rect.y, 20, rect.height);
477+
Rect toggleRect = new Rect(rect.x, rect.y, rect.width, rect.height);
478478
f.Selected = EditorGUI.Toggle(toggleRect, f.Selected);
479479

480480
// Determine prefix based on Group by Font state
@@ -520,7 +520,6 @@ private void DrawTMPTextEntry(FoundTMP f)
520520

521521
private void SelectObjectInProjectOrScene(FoundTMP f)
522522
{
523-
// TODO: 씬 열고 닫기 기능 넣기
524523
if (f.Mother.IsSceneLoaded)
525524
{
526525
// Highlight prefab in project window

0 commit comments

Comments
 (0)