From 3aa2ffcda2bf26f24f8e31a1820ecf709e8273df Mon Sep 17 00:00:00 2001 From: Radrark <76271993+Radrark@users.noreply.github.com> Date: Sat, 26 Dec 2020 19:30:37 -0300 Subject: [PATCH] instrument menu now displays the instrument name (#2840) Co-authored-by: Radrark --- Content.Client/Instruments/InstrumentMenu.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Client/Instruments/InstrumentMenu.cs b/Content.Client/Instruments/InstrumentMenu.cs index 9bcb8d1411..5f30d71494 100644 --- a/Content.Client/Instruments/InstrumentMenu.cs +++ b/Content.Client/Instruments/InstrumentMenu.cs @@ -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,