jp.keijiro.klutter-tools 2.4.1 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,8 +40,7 @@ public static class VfxGraphTextEditorModifier
|
|
|
40
40
|
|
|
41
41
|
#region Font application logic
|
|
42
42
|
|
|
43
|
-
static readonly string TextClassName
|
|
44
|
-
= "unity-text-element--inner-input-field-component";
|
|
43
|
+
static readonly string TextClassName = "unity-text-field__input";
|
|
45
44
|
|
|
46
45
|
static Font _font;
|
|
47
46
|
|
|
@@ -67,6 +66,7 @@ public static class VfxGraphTextEditorModifier
|
|
|
67
66
|
element.style.unityFontDefinition = StyleKeyword.None;
|
|
68
67
|
element.style.unityFont = unityFont;
|
|
69
68
|
element.style.fontSize = Preferences.VfxGraphFontSize;
|
|
69
|
+
element.style.whiteSpace = WhiteSpace.Normal;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -78,6 +78,13 @@ public static class VfxGraphTextEditorModifier
|
|
|
78
78
|
#endregion
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
#else
|
|
82
|
+
|
|
83
|
+
public static class VfxGraphTextEditorModifier
|
|
84
|
+
{
|
|
85
|
+
public static void ApplyToAllOpenWindows() {}
|
|
86
|
+
}
|
|
87
|
+
|
|
81
88
|
#endif
|
|
82
89
|
|
|
83
90
|
} // namespace KlutterTools
|