mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
* Added localization string for MIDI input volume. * Added MinVolume property to SharedInstrumentComponent & InstrumentComponentState. * Implemented MinVolume property into InstrumentSystem's. * Added UI slider for MinVolume to InstrumentMenu. * Added network event for updating MinVolume. * Removed unnecessary empty line. * Readability fix as suggested by Pok27 Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Added MinVolumeControl * Added MinVolumeControl to instrument menu configuration (and cleaned up Content.Client.InstrumentSystem.SetMinVolume) * Added label to MinVolumeSlider indicating the current value * Minor cleanup --------- Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com>
6 lines
353 B
XML
6 lines
353 B
XML
<Control xmlns="https://spacestation14.io">
|
|
<BoxContainer Orientation="Horizontal" VerticalExpand="True" Margin="2 2 0 0">
|
|
<Slider Name="MidiMinVolumeSlider" HorizontalExpand="True" MinValue="0" MaxValue="127" />
|
|
<Label Name="MidiMinVolumeValueLabel" MinWidth="28" Margin="6 0 3 0" Align="Right" />
|
|
</BoxContainer>
|
|
</Control>
|