Skip to content

Commit

Permalink
fix: always update _volume
Browse files Browse the repository at this point in the history
  • Loading branch information
agaertner committed Apr 14, 2024
1 parent e3b4bd9 commit d0b3847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blish HUD/GameServices/GameIntegration/AudioIntegration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public float Volume {
get => _volume ??= GetVolume();
private set {
if (Math.Abs(_volume.GetValueOrDefault() - value) > 0.0001f) {
_volume = value;
VolumeChanged?.Invoke(this, new ValueEventArgs<float>(value));
}
_volume = value;
}
}

Expand Down

0 comments on commit d0b3847

Please sign in to comment.