Skip to content

Commit

Permalink
Upgrade the package to the latest and fix the compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed May 19, 2024
1 parent 88a05ee commit 2439543
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Copyright (c) andy840119 <[email protected]>. Licensed under the GPL Licence.
// See the LICENCE file in the repository root for full licence text.

using System;
using System.Numerics;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Overlays.Settings;

namespace osu.Game.Rulesets.Karaoke.Graphics.UserInterfaceV2;

public partial class LabelledRealTimeSliderBar<TNumber> : LabelledSliderBar<TNumber>
where TNumber : struct, IEquatable<TNumber>, IComparable<TNumber>, IConvertible
where TNumber : struct, INumber<TNumber>, IMinMaxValue<TNumber>
{
protected override SettingsSlider<TNumber> CreateComponent()
=> base.CreateComponent().With(x => x.TransferValueOnCommit = false);
Expand Down
4 changes: 0 additions & 4 deletions osu.Game.Rulesets.Karaoke/KaraokeSkinComponentLookup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ public KaraokeSkinComponentLookup(KaraokeSkinComponents component)
: base(component)
{
}

protected override string RulesetPrefix => KaraokeRuleset.SHORT_NAME;

protected override string ComponentName => Component.ToString().ToLower();
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.Compose.Toolbar

public partial class PlaybackSwitchButton : CompositeDrawable
{
private readonly IBindable<ITrack> track = new Bindable<ITrack>();
private readonly IBindable<Track> track = new Bindable<Track>();
private readonly BindableNumber<double> freqAdjust = new BindableDouble(1);

public PlaybackSwitchButton()
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Karaoke/osu.Game.Rulesets.Karaoke.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ppy.osu.Game" Version="2024.412.1" />
<PackageReference Include="ppy.osu.Game" Version="2024.517.0" />
<PackageReference Include="Lucene.Net" Version="4.8.0-beta00016" />
<PackageReference Include="Lucene.Net.Analysis.Kuromoji" Version="4.8.0-beta00016" />
<PackageReference Include="SixLabors.Fonts" Version="2.0.3" />
Expand Down

0 comments on commit 2439543

Please sign in to comment.