diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-06-11 15:54:50 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-06-11 15:54:50 +0000 |
commit | cb8cc3c455ade321861e92829498cdf4f2c26a9b (patch) | |
tree | efb62a853f2d3921e3c4310a946eff491dd4251b | |
parent | a8da17dc72c72a127eda49ae671451865d28c81e (diff) | |
download | usdx-cb8cc3c455ade321861e92829498cdf4f2c26a9b.tar.gz usdx-cb8cc3c455ade321861e92829498cdf4f2c26a9b.tar.xz usdx-cb8cc3c455ade321861e92829498cdf4f2c26a9b.zip |
fix wrong lyric spacing in editor after editing a sentence whose last syllable is freestyle
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2488 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | src/base/UEditorLyrics.pas | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/UEditorLyrics.pas b/src/base/UEditorLyrics.pas index 0eacd1f9..5030eff5 100644 --- a/src/base/UEditorLyrics.pas +++ b/src/base/UEditorLyrics.pas @@ -195,6 +195,7 @@ begin Word[WordNum].FontStyle := FontStyleI; SetFontStyle(FontStyleI); SetFontSize(SizeR); + SetFontItalic(Italic); Word[WordNum].Width := glTextWidth(Text); Word[WordNum].Text := Text; Word[WordNum].ColR := ColR; |