1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Scope down to IBeatmapSkin in EditorChangeHandler

This commit is contained in:
Craftplacer 2020-08-30 16:07:06 +02:00
parent f5c82d41eb
commit b39ec74bb8

View File

@ -26,7 +26,7 @@ namespace osu.Game.Screens.Edit
private int currentState = -1;
private readonly EditorBeatmap editorBeatmap;
private readonly LegacyBeatmapSkin beatmapSkin;
private readonly IBeatmapSkin beatmapSkin;
private int bulkChangesStarted;
private bool isRestoring;
@ -37,7 +37,7 @@ namespace osu.Game.Screens.Edit
/// </summary>
/// <param name="editorBeatmap">The <see cref="EditorBeatmap"/> to track the <see cref="HitObject"/>s of.</param>
/// <param name="beatmapSkin">The skin to track the inline skin configuration of.</param>
public EditorChangeHandler(EditorBeatmap editorBeatmap, LegacyBeatmapSkin beatmapSkin)
public EditorChangeHandler(EditorBeatmap editorBeatmap, IBeatmapSkin beatmapSkin)
{
this.editorBeatmap = editorBeatmap;