Skip to content

Commit c43ce07

Browse files
committed
fix: 修复背景图不透明度问题未持久化的问题
1 parent 6aae8e3 commit c43ce07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TuneLab/Configs/Settings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public static void Init(string path)
4747
Language.Value = settingsFile.Language;
4848
MasterGain.Value = settingsFile.MasterGain;
4949
BackgroundImagePath.Value = settingsFile.BackgroundImagePath;
50+
BackgroundImageOpacity.Value = settingsFile.BackgroundImageOpacity;
5051
ParameterBoundaryExtension.Value = settingsFile.ParameterBoundaryExtension;
5152
PianoKeySamplesPath.Value = settingsFile.PianoKeySamplesPath;
5253
AutoSaveInterval.Value = settingsFile.AutoSaveInterval;
@@ -66,6 +67,7 @@ public static void Save(string path)
6667
Language = Language,
6768
MasterGain = MasterGain,
6869
BackgroundImagePath = BackgroundImagePath,
70+
BackgroundImageOpacity = BackgroundImageOpacity,
6971
ParameterBoundaryExtension = ParameterBoundaryExtension,
7072
PianoKeySamplesPath = PianoKeySamplesPath,
7173
AutoSaveInterval = AutoSaveInterval,

0 commit comments

Comments
 (0)