1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:42:54 +08:00

Fix incorrect cast

This commit is contained in:
Jamie Taylor 2022-08-24 22:31:28 +09:00
parent dc829334a1
commit da7f8270da
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C

View File

@ -193,7 +193,7 @@ namespace osu.Game.Graphics.UserInterface
default:
channel = selectCharSample?.GetChannel();
pitch += (SelectedText.Length / (float)Text.Length) * 0.15f;
pitch += (SelectedText.Length / (double)Text.Length) * 0.15f;
break;
}