Skip to content

Commit 4d682ce

Browse files
committed
Fix having too much text in a slider.
1 parent 2ae45a1 commit 4d682ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Editor/Scripts/Node/PlayableOutputNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ protected override void AppendNodeDescription()
117117
GUILayout.Label($"UserData: {PlayableOutput.GetUserData()?.name ?? "Null"}");
118118
GUILayout.Label(LINE);
119119
GUILayout.Label("Source Input:");
120-
GUILayout.Label($" SourceOutputPort: {PlayableOutput.GetSourceOutputPort().ToString()}");
121-
EditorGUILayout.Slider($" Weight: {PlayableOutput.GetWeight().ToString("F3")}", PlayableOutput.GetWeight(), 0, 1);
120+
GUILayout.Label($" SourceOutputPort: {PlayableOutput.GetSourceOutputPort()}");
121+
EditorGUILayout.Slider(" Weight:", PlayableOutput.GetWeight(), 0, 1);
122122
}
123123

124124
#endregion

0 commit comments

Comments
 (0)