Skip to content

Commit

Permalink
Merge pull request #41 from Zazalng/master
Browse files Browse the repository at this point in the history
Osu Framework cause to update new method
  • Loading branch information
Flutterish authored Apr 24, 2023
2 parents b99d0e4 + 833dcda commit 7ed7a91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions Hitokori/UI/HitokoriSettingsSubsection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@ private void load () {
}
}

public class SpeedSlider : OsuSliderBar<double> {
public override LocalisableString TooltipText => $"{Current.Value:N1}x";
}
public class PercentageSlider : OsuSliderBar<double> {
public override LocalisableString TooltipText => $"{Current.Value:##0%}";
}
public class SpeedSlider : RoundedSliderBar<double> {

public override LocalisableString TooltipText => $"{Current.Value:N1}x";
}
public class PercentageSlider : RoundedSliderBar<double> {
public override LocalisableString TooltipText => $"{Current.Value:##0%}";
}
}
2 changes: 1 addition & 1 deletion Hitokori/osu.Game.Rulesets.Hitokori.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ppy.osu.Game" Version="2022.1101.0" />
<PackageReference Include="ppy.osu.Game" Version="2023.419.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 7ed7a91

Please sign in to comment.