From d7ff58505914a7a11e8a6da4043acb664bfa79e0 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Tue, 29 Mar 2016 16:36:29 +0100 Subject: [PATCH] Fixed command name spacing when line numbers shown --- Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs | 5 ++--- Assets/Tests/TestAssets/Animation.meta | 9 +++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 Assets/Tests/TestAssets/Animation.meta diff --git a/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs b/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs index e6d5c83f..b5837560 100644 --- a/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs +++ b/Assets/Fungus/Flowchart/Editor/CommandListAdaptor.cs @@ -431,9 +431,8 @@ namespace Fungus } else { - summaryRect.x += commandNameWidth + 20; - summaryRect.width -= commandNameWidth + 20; - summaryRect.width -= 5; + summaryRect.x += commandNameWidth + 5; + summaryRect.width -= commandNameWidth; } GUIStyle summaryStyle = new GUIStyle(); diff --git a/Assets/Tests/TestAssets/Animation.meta b/Assets/Tests/TestAssets/Animation.meta new file mode 100644 index 00000000..9a6e38a3 --- /dev/null +++ b/Assets/Tests/TestAssets/Animation.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f5528a125b1c64ce4b4ad7ae57de4989 +folderAsset: yes +timeCreated: 1459263232 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: