优化代码

This commit is contained in:
2025-08-31 09:09:22 +08:00
parent 26cd125534
commit 8d76c014c8
2 changed files with 3 additions and 3 deletions
@@ -2802,7 +2802,7 @@ namespace Ink_Canvas
await Task.Delay(100); await Task.Delay(100);
// Capture screenshot and insert to canvas // Capture screenshot and insert to canvas
CaptureScreenshotAndInsert(); await CaptureScreenshotAndInsert();
} }
private async void ImageOptionSelectFile_MouseUp(object sender, MouseButtonEventArgs e) private async void ImageOptionSelectFile_MouseUp(object sender, MouseButtonEventArgs e)
+2 -2
View File
@@ -2742,13 +2742,13 @@ namespace Ink_Canvas
private void HyperlinkSourceToPresentRepository_Click(object sender, RoutedEventArgs e) private void HyperlinkSourceToPresentRepository_Click(object sender, RoutedEventArgs e)
{ {
Process.Start("https://bgithub.xyz/ChangSakura/Ink-Canvas"); Process.Start("https://github.com/ChangSakura/Ink-Canvas");
HideSubPanels(); HideSubPanels();
} }
private void HyperlinkSourceToOringinalRepository_Click(object sender, RoutedEventArgs e) private void HyperlinkSourceToOringinalRepository_Click(object sender, RoutedEventArgs e)
{ {
Process.Start("https://bgithub.xyz/WXRIW/Ink-Canvas"); Process.Start("https://github.com/WXRIW/Ink-Canvas");
HideSubPanels(); HideSubPanels();
} }