Skip to content

Commit

Permalink
修复 截图区域计算错误
Browse files Browse the repository at this point in the history
  • Loading branch information
MakesYT committed Dec 9, 2024
1 parent 9f2d9c3 commit e79d6ab
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions KitopiaAvalonia/Windows/ScreenCaptureWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,20 +191,6 @@ private void CompletedSelection()

WeakReferenceMessenger.Default.Send<string, string>("Selected", "ScreenCapture");
UpdateSelectBox();
if (selectMode)
{
selectModeAction?.Invoke(new ScreenCaptureInfo()
{
X = (int)SelectBox._dragTransform.X,
Y = (int)SelectBox._dragTransform.Y,
Width = (int)SelectBox.Width,
Height = (int)SelectBox.Height
});
Image.Source = null;

WeakReferenceMessenger.Default.Send<string, string>("Close", "ScreenCapture");
Close();
}

if (ConfigManger.Config.截图直接复制到剪贴板)
FinnishCapture();
Expand Down

0 comments on commit e79d6ab

Please sign in to comment.