1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 21:30:23 +08:00

remove code already covered by updatePrimaryBankState

This commit is contained in:
OliBomby
2024-06-11 21:20:42 +02:00
Unverified
parent 7d5dc750e5
commit 12dd60736a
@@ -172,10 +172,6 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
allRelevantSamples = relevantObjects.Select(GetRelevantSamples).ToArray();
// even if there are multiple objects selected, we can still display sample volume or bank if they all have the same value.
string? commonBank = getCommonBank();
if (!string.IsNullOrEmpty(commonBank))
bank.Current.Value = commonBank;
int? commonVolume = getCommonVolume();
if (commonVolume != null)
volume.Current.Value = commonVolume.Value;