mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 03:02:54 +08:00
remove code already covered by updatePrimaryBankState
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user