Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiraSora committed Feb 5, 2024
1 parent 314007b commit 0f86a87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ public async Task ProcessArgs(string[] args)
{
Log.LogInfo($"arg.filePath: {filePath}");

if (await DocumentOpenHelper.TryOpenAsDocument(filePath))
Application.Current?.MainWindow?.Focus();
Application.Current.Dispatcher.Invoke(async () =>
{
if (await DocumentOpenHelper.TryOpenAsDocument(filePath))
Application.Current?.MainWindow?.Focus();
});

return;
}
Expand Down
2 changes: 1 addition & 1 deletion OngekiFumenEditor/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"OngekiFumenEditor": {
"commandName": "Project",
"commandLineArgs": "svg --inputFile \"C:\\Users\\mikir\\Desktop\\音寄谱\\ホシシズク\\fumen.ogkr\" --audioFile \"C:\\Users\\mikir\\Desktop\\音寄谱\\ホシシズク\\track.wav\" --outputFile \"C:\\Users\\mikir\\Desktop\\音寄谱\\ホシシズク\\output.svg\""
"commandLineArgs": "\"C:\\Users\\mikir\\Desktop\\音寄谱\\magical flavor\\MagicFlavor.nyagekiProj\""
}
}
}

0 comments on commit 0f86a87

Please sign in to comment.