Skip to content

Commit

Permalink
Adjust some code.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Oct 16, 2022
1 parent 9a8457a commit cf6170e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class SingleLyricEditorTest
public void TestLockMessage()
{
var lyric = new Lyric();
Assert.IsNull(EditableLyric.GetLyricPropertyLockedReason(lyric, LyricEditorMode.View));
Assert.IsNull(InteractableLyric.GetLyricPropertyLockedReason(lyric, LyricEditorMode.View));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace osu.Game.Rulesets.Karaoke.Tests.Editor
[TestFixture]
public class TestSceneLayoutToolTip : OsuTestScene
{
private ISkin skin = new TestingSkin(null);
private readonly ISkin skin = new TestingSkin(null);
private LayoutToolTip toolTip = null!;

[SetUp]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ private void assignBottomEditor(BottomEditorType? bottomEditorType)
return;

bottomEditorContainer.Add(newButtonEditor);
newButtonEditor.Delay(hasOldButtonEditor ? remove_old_editor_time : 0).FadeIn(0).MoveToY(0, new_animation_time);
newButtonEditor.Delay(hasOldButtonEditor ? remove_old_editor_time : 0).FadeIn().MoveToY(0, new_animation_time);

static BaseBottomEditor? createBottomEditor(BottomEditorType? bottomEditorType) =>
bottomEditorType switch
Expand Down

0 comments on commit cf6170e

Please sign in to comment.