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:
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}";
|
||||
|
Loading…
Reference in New Issue
Block a user