mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Revert "Convert data type of DistanceSpacing
to float"
This reverts commit 7aaa88cac2
.
This commit is contained in:
@ -222,7 +222,7 @@ namespace osu.Game.Tests.Editing
|
||||
{
|
||||
public new EditorBeatmap EditorBeatmap => base.EditorBeatmap;
|
||||
|
||||
public new Bindable<float> DistanceSpacingMultiplier => base.DistanceSpacingMultiplier;
|
||||
public new Bindable<double> DistanceSpacingMultiplier => base.DistanceSpacingMultiplier;
|
||||
|
||||
public TestHitObjectComposer()
|
||||
: base(new OsuRuleset())
|
||||
|
@ -167,7 +167,7 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
|
||||
public SnapResult SnapScreenSpacePositionToValidTime(Vector2 screenSpacePosition) => new SnapResult(screenSpacePosition, 0);
|
||||
|
||||
public IBindable<float> DistanceSpacingMultiplier { get; } = new BindableFloat(1);
|
||||
public IBindable<double> DistanceSpacingMultiplier { get; } = new BindableDouble(1);
|
||||
|
||||
public float GetBeatSnapDistanceAt(HitObject referenceObject) => 10;
|
||||
|
||||
|
@ -17,7 +17,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
private TestExpandingContainer container;
|
||||
private SettingsToolboxGroup toolboxGroup;
|
||||
|
||||
private ExpandableSlider<float, SizeSlider> slider1;
|
||||
private ExpandableSlider<float, SizeSlider<float>> slider1;
|
||||
private ExpandableSlider<double> slider2;
|
||||
|
||||
[SetUp]
|
||||
@ -34,7 +34,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
Width = 1,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
slider1 = new ExpandableSlider<float, SizeSlider>
|
||||
slider1 = new ExpandableSlider<float, SizeSlider<float>>
|
||||
{
|
||||
Current = new BindableFloat
|
||||
{
|
||||
|
Reference in New Issue
Block a user