instrument menu now displays the instrument name (#2840)
Co-authored-by: Radrark <null>
This commit is contained in:
@@ -35,12 +35,13 @@ namespace Content.Client.Instruments
|
||||
public InstrumentMenu(InstrumentBoundUserInterface owner)
|
||||
{
|
||||
IoCManager.InjectDependencies(this);
|
||||
Title = Loc.GetString("Instrument");
|
||||
|
||||
_owner = owner;
|
||||
|
||||
_owner.Instrument.OnMidiPlaybackEnded += InstrumentOnMidiPlaybackEnded;
|
||||
|
||||
Title = _owner.Instrument.Owner.Name;
|
||||
|
||||
var margin = new MarginContainer()
|
||||
{
|
||||
SizeFlagsVertical = SizeFlags.FillExpand,
|
||||
|
||||
Reference in New Issue
Block a user