mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
instrument menu now displays the instrument name (#2840)
Co-authored-by: Radrark <null>
This commit is contained in:
parent
24d1c967b6
commit
3aa2ffcda2
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue