mirror of https://github.com/ppy/osu
Fix clicking "centre on selected object" button not updating slider state
This commit is contained in:
parent
cf66d40b00
commit
3da59f44b5
|
@ -188,6 +188,12 @@ protected override void LoadComplete()
|
|||
StartPosition.Value = new Vector2(StartPosition.Value.X, y.NewValue);
|
||||
}, true);
|
||||
|
||||
StartPosition.BindValueChanged(pos =>
|
||||
{
|
||||
StartPositionX.Value = pos.NewValue.X;
|
||||
StartPositionY.Value = pos.NewValue.Y;
|
||||
});
|
||||
|
||||
Spacing.BindValueChanged(spacing =>
|
||||
{
|
||||
spacingSlider.ContractedLabelText = $"S: {spacing.NewValue:N0}";
|
||||
|
|
Loading…
Reference in New Issue