1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

Fix tests specifying float precision for double bindable

Would cause assignments to `.Value` to become imprecise even if the
underlying bindable could represent the value 100% accurately.
This commit is contained in:
Bartłomiej Dach 2023-10-26 12:03:35 +02:00
parent 910d74fdda
commit 96437c4518
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ namespace osu.Game.Tests.Visual.UserInterface
private readonly BindableDouble current = new BindableDouble(5)
{
Precision = 0.1f,
Precision = 0.1,
MinValue = 0,
MaxValue = 15
};

View File

@ -20,7 +20,7 @@ namespace osu.Game.Tests.Visual.UserInterface
private readonly BindableDouble current = new BindableDouble(5)
{
Precision = 0.1f,
Precision = 0.1,
MinValue = 0,
MaxValue = 15
};