From f50326c223546e862f6800f643490e13616960e0 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 19 Aug 2021 19:42:26 +0800 Subject: *misc --- Assets/ActionTool/Editor/ActionPreviewEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Assets/ActionTool/Editor/ActionPreviewEditor.cs') diff --git a/Assets/ActionTool/Editor/ActionPreviewEditor.cs b/Assets/ActionTool/Editor/ActionPreviewEditor.cs index 3ed3513b..6ff60ed5 100644 --- a/Assets/ActionTool/Editor/ActionPreviewEditor.cs +++ b/Assets/ActionTool/Editor/ActionPreviewEditor.cs @@ -833,10 +833,10 @@ namespace ActionTool bool frameSelect = GUI.Toggle(frameRect, isSelect, new GUIContent("", animEvent.Name), styles.keyFrameButton); GUI.backgroundColor = prevColor; - Rect labelRect = new Rect(pos.x - 1, pos.y + 2, kFrameWidth, kFrameHeight); + Rect labelRect = new Rect(pos.x, pos.y + 2, kFrameWidth, kFrameHeight); Color col = GUI.color; GUI.color = Color.yellow; - GUI.Label(labelRect, animEvent.shortName, styles.textBold); + GUI.Label(labelRect, animEvent.shortName, styles.textBoldSmall); GUI.color = col; if (!isSelect && frameSelect) -- cgit v1.1-26-g67d0