Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiraSora committed Sep 28, 2024
1 parent 444499e commit 771fa0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OngekiFumenEditor/Kernel/EditorLayout/EditorLayoutManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ public async Task<bool> SaveLayout(Stream outputLayoutDataStream)

public Task<bool> ApplyDefaultSuggestEditorLayout()
{
using var stream = ResourceUtils.OpenReadFromLocalAssemblyResourcesFolder("suggestLayout.bin");
return IoC.Get<IEditorLayoutManager>().LoadLayout(stream);
var stream = ResourceUtils.OpenReadFromLocalAssemblyResourcesFolder("suggestLayout.bin");
return LoadLayout(stream);
}
}
}

0 comments on commit 771fa0f

Please sign in to comment.