Skip to content

Commit

Permalink
Merge pull request #242 from andy840119/andy840119/update-nuget
Browse files Browse the repository at this point in the history
Update nuget package
  • Loading branch information
andy840119 authored Nov 9, 2020
2 parents 0150177 + efa143c commit 82a0d2c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected override void ApplyLayout(KaraokeLayout layout)
Padding = new MarginPadding(0);
}

protected override void UpdateStateTransforms(ArmedState state)
protected override void UpdateStartTimeStateTransforms()
{
// Do not fade-in / fade-out while changing armed state.
}
Expand Down
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Karaoke/Mods/KaraokeModHiddenNote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public override void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> dr
base.ApplyToDrawableHitObjects(drawables);
}

protected override void ApplyHiddenState(DrawableHitObject hitObject, ArmedState state)
protected override void ApplyNormalVisibilityState(DrawableHitObject hitObject, ArmedState state)
{
if (!(hitObject is DrawableNote note))
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected override void UpdateInitialTransforms()
{
}

protected override void UpdateStateTransforms(ArmedState state)
protected override void UpdateStartTimeStateTransforms()
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ protected DrawableKaraokeHitObject(KaraokeHitObject hitObject)

protected sealed override double InitialLifetimeOffset => HitObject.TimePreempt;

protected override void UpdateStateTransforms(ArmedState state)
{
base.UpdateStateTransforms(state);

switch (state)
{
case ArmedState.Idle:
// Manually set to reduce the number of future alive objects to a bare minimum.
LifetimeStart = HitObject.StartTime - HitObject.TimePreempt;
break;
}
}

protected override JudgementResult CreateResult(Judgement judgement) => new KaraokeJudgementResult(HitObject, judgement);
}
}
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Karaoke/Objects/Drawables/DrawableLyric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
}
}

protected override void UpdateStateTransforms(ArmedState state)
protected override void UpdateStartTimeStateTransforms()
{
base.UpdateStateTransforms(state);
base.UpdateStartTimeStateTransforms();

using (BeginDelayedSequence(HitObject.Duration, true))
{
Expand Down
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Karaoke/Statistics/BeatmapInfoGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ protected override bool OnClick(ClickEvent e)
}

[BackgroundDependencyLoader(true)]
private void load([CanBeNull] IBindable<WorkingBeatmap> workingBeatmap, [CanBeNull] BeatmapDifficultyManager difficultyManager)
private void load([CanBeNull] IBindable<WorkingBeatmap> workingBeatmap, [CanBeNull] BeatmapDifficultyCache difficultyCache)
{
var beatmapDifficulty = difficultyManager.GetDifficulty(beatmap.BeatmapInfo);
var beatmapDifficulty = difficultyCache.GetBindableDifficulty(beatmap.BeatmapInfo).Value;
if (workingBeatmap != null)
{
LoadComponentAsync(new BeatmapInfoWedge(workingBeatmap.Value, beatmapDifficulty), Add);
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 @@ -14,7 +14,7 @@
<PackageReference Include="Octokit" Version="0.48.0" />
<PackageReference Include="osu.Framework.KaraokeFont" Version="1.0.0" />
<PackageReference Include="osu.Framework.Microphone" Version="1.0.10" />
<PackageReference Include="ppy.osu.Game" Version="2020.1031.0" />
<PackageReference Include="ppy.osu.Game" Version="2020.1109.0" />
<PackageReference Include="LyricMaker" Version="1.1.1" />
<PackageReference Include="NicoKaraParser" Version="1.1.0" />
</ItemGroup>
Expand Down

0 comments on commit 82a0d2c

Please sign in to comment.