summaryrefslogtreecommitdiff
path: root/Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs')
-rw-r--r--Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs b/Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs
index 741458e..236a700 100644
--- a/Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs
+++ b/Assets/UI_Extension/Scripts/Animation/Tween/Editor/TweenAnimationInspector.cs
@@ -181,9 +181,9 @@ namespace TweenAnimation
Rect labelRect = rect;
labelRect.y += 1;
- GUI.Label(labelRect, "Modules ", styles.textBold);
+ GUI.Label(labelRect, "Modules", styles.textBold);
- rect.x = rect.x + rect.width - 15;
+ rect.x = rect.x + rect.width - 18;
rect.width = 20;
rect.height = 20;
//if (GUI.Button(rect, "", styles.plus))
@@ -626,10 +626,10 @@ namespace TweenAnimation
GUI.Label(labelRect, callbackName, styles.text);
Rect unfoldRect = rect;
- unfoldRect.x = rect.x + rect.width - 19;
+ unfoldRect.x = rect.x + 5/*+ rect.width - 19*/;
unfoldRect.width = 13;
unfoldRect.height = 13;
- unfoldRect.y += 3;
+ unfoldRect.y += 2;
bool unfold;
if(!m_CallbackUnfold.TryGetValue(callbackName, out unfold))
{
@@ -676,7 +676,7 @@ namespace TweenAnimation
// delete button
Rect deleteButton = rect;
- deleteButton.x += 5;
+ deleteButton.x = rect.x + rect.width - 19;
deleteButton.width = 10;
deleteButton.y -= 2;
if (GUI.Button(deleteButton, "-", styles.textBoldBig))
@@ -709,10 +709,10 @@ namespace TweenAnimation
// 折叠
Rect unfoldRect = rect;
- unfoldRect.x = rect.x + rect.width - 19;
+ unfoldRect.x += 5;
unfoldRect.width = 13;
unfoldRect.height = 13;
- unfoldRect.y += 3;
+ unfoldRect.y += 2;
e.unfold = GUI.Button(unfoldRect, (e.unfold ? "▲" : "▼"), styles.textSmall) ? !e.unfold : e.unfold;
if(e.unfold)
{