Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Oct 25, 2020
1 parent 8cfbbbe commit 049df87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions osu.Game.Rulesets.Karaoke/Edit/Style/StylePreview.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ private void load(OverlayColourProvider colourProvider, StyleManager manager)
};
}

private LyricLine createDefaultLyricLine()
private Lyric createDefaultLyricLine()
{
var startTime = Time.Current;
const double duration = 1000000;

return new LyricLine
return new Lyric
{
StartTime = startTime,
Duration = duration,
Expand Down Expand Up @@ -85,12 +85,12 @@ private LyricLine createDefaultLyricLine()
};
}

public class PreviewDrawableLyricLine : DrawableLyricLine
public class PreviewDrawableLyricLine : DrawableLyric
{
private KaraokeFont style;

public PreviewDrawableLyricLine(LyricLine hitObject)
: base(hitObject)
public PreviewDrawableLyricLine(Lyric hitObject)
: base(hitObject)
{
}

Expand Down

0 comments on commit 049df87

Please sign in to comment.