You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Editor/ThaiTextNurse/ThaiTextNurseEditor.cs
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,15 @@ public override void OnInspectorGUI()
26
26
if(settings==null)
27
27
EditorGUILayout.HelpBox("ThaiTextCareSettings.asset is missing. It must be under: "+ThaiTextCareSettings.SettingsPath,MessageType.Error);
28
28
elseif(!ThaiTextNurse.IsDictionaryLoaded)
29
+
{
29
30
EditorGUILayout.HelpBox("Dictionary is not loaded. It must be under 'Resources' folder: "+ThaiTextNurse.GetDictionaryPath(settings),MessageType.Error);
Copy file name to clipboardExpand all lines: Runtime/ThaiTextNurse/ThaiTextNurse.cs
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,19 @@ public ThaiGlyphCorrection Correction
24
24
}
25
25
}
26
26
[SerializeField]ThaiGlyphCorrectioncorrection;
27
+
28
+
publicboolIsForceFullLineHeight
29
+
{
30
+
get=>isForceFullLineHeight;
31
+
set
32
+
{
33
+
isForceFullLineHeight=value;
34
+
NotifyChange();
35
+
}
36
+
}
37
+
38
+
[Tooltip("Force inject <line-height=100%> tag to the output string to fix the issue where line spacing increase as you modify the Glyph adjusment Y offset.")]
0 commit comments