1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 13:47:24 +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
parent cf66d40b00
commit 3da59f44b5
No known key found for this signature in database

View File

@ -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}";