1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 08:12:56 +08:00

Only update tablet values on commit

This commit is contained in:
Dean Herbert 2021-03-17 13:23:23 +09:00
parent 6285dcd1a1
commit c624aa9397

View File

@ -104,16 +104,19 @@ namespace osu.Game.Overlays.Settings.Sections.Input
}, },
new SettingsSlider<float> new SettingsSlider<float>
{ {
TransferValueOnCommit = true,
LabelText = "Aspect Ratio", LabelText = "Aspect Ratio",
Current = aspectRatio Current = aspectRatio
}, },
new SettingsSlider<float> new SettingsSlider<float>
{ {
TransferValueOnCommit = true,
LabelText = "X Offset", LabelText = "X Offset",
Current = offsetX Current = offsetX
}, },
new SettingsSlider<float> new SettingsSlider<float>
{ {
TransferValueOnCommit = true,
LabelText = "Y Offset", LabelText = "Y Offset",
Current = offsetY Current = offsetY
}, },
@ -124,11 +127,13 @@ namespace osu.Game.Overlays.Settings.Sections.Input
}, },
new SettingsSlider<float> new SettingsSlider<float>
{ {
TransferValueOnCommit = true,
LabelText = "Width", LabelText = "Width",
Current = sizeX Current = sizeX
}, },
new SettingsSlider<float> new SettingsSlider<float>
{ {
TransferValueOnCommit = true,
LabelText = "Height", LabelText = "Height",
Current = sizeY Current = sizeY
}, },