aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/USong.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-11-24 20:04:01 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-11-24 20:04:01 +0000
commit735a5b67345e2888de89d89b4f31b4d48c06f9ec (patch)
treed20a63bc11fcd76bee8d58ed7229bce5f3b62c27 /src/base/USong.pas
parent12f978afaf1a2435ce2f94c19a73bcade3983d24 (diff)
downloadusdx-735a5b67345e2888de89d89b4f31b4d48c06f9ec.tar.gz
usdx-735a5b67345e2888de89d89b4f31b4d48c06f9ec.tar.xz
usdx-735a5b67345e2888de89d89b4f31b4d48c06f9ec.zip
use second players color to indicate selected note in editor
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1960 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base/USong.pas')
-rw-r--r--src/base/USong.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/USong.pas b/src/base/USong.pas
index 33e8d8df..f8d465c7 100644
--- a/src/base/USong.pas
+++ b/src/base/USong.pas
@@ -1206,6 +1206,8 @@ begin
if Note[HighNote].Tone < BaseNote then
BaseNote := Note[HighNote].Tone;
+ Note[HighNote].Color := 1; // default color to 1 for editor
+
DecodeStringUTF8(LyricS, Note[HighNote].Text, Encoding);
Lyric := Lyric + Note[HighNote].Text;