Skip to content

Commit

Permalink
Fixed audio volume bar value when loading caused by #13 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myszax authored Jun 28, 2024
1 parent 259456e commit 83f4e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WPFUI/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ private void OpenProject()
AudioPlayerViewModel.Volume = projectFile.AudioPlayerVolume;

if (projectFile.AudioPlayerPreviousVolume >= 0f && projectFile.AudioPlayerPreviousVolume <= 1f)
_settingsService.AudioPlayerVolume = projectFile.AudioPlayerPreviousVolume;
_settingsService.AudioPlayerPreviousVolume = projectFile.AudioPlayerPreviousVolume;

IsEnabledFilterName = projectFile.EnabledFilterName;
IsEnabledFilterOriginalText = projectFile.EnabledFilterOriginalText;
Expand Down

0 comments on commit 83f4e74

Please sign in to comment.