1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 19:00:30 +08:00

Fix clicking "centre on selected object" button not updating slider state

This commit is contained in:
Bartłomiej Dach
2024-10-07 10:28:44 +02:00
Unverified
parent cf66d40b00
commit 3da59f44b5
@@ -188,6 +188,12 @@ namespace osu.Game.Rulesets.Osu.Edit
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}";