Merge branch 'xxSeys1-AudioSliderGamePanelFix'

This commit is contained in:
Wojtek Figat
2025-02-11 14:07:16 +01:00

View File

@@ -691,7 +691,7 @@ namespace FlaxEditor.Windows
{
var button = menu.AddButton("Audio Volume");
button.CloseMenuOnClick = false;
var slider = new FloatValueBox(1, 140, 2, 50, 0, 1) { Parent = button };
var slider = new FloatValueBox(AudioVolume, 140, 2, 50, 0, 1) { Parent = button };
slider.ValueChanged += () => AudioVolume = slider.Value;
}