Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] committed 2022-03-13 14:27:46 +00:00
1 parent ed41aabdef
commit 4cb300574c
747 files changed
+1000 -1000

No files matched your search

@@ -11,4 +11,4 @@ public class Screenshot
public void Start() => new ScreenshotWindow(this).Show();
internal void OnSnapped(ImageSource source) => Snapped?.Invoke(this, new FunctionEventArgs<ImageSource>(source));
}
}
@@ -233,24 +233,24 @@ public class ScreenshotWindow : System.Windows.Window
switch (e.Key)
{
case Key.Left:
{
MoveTargetArea(MoveRect(_targetWindowRect, -1, rightFlag: -1));
}
{
MoveTargetArea(MoveRect(_targetWindowRect, -1, rightFlag: -1));
}
break;
case Key.Up:
{
MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: -1, topFlag: -1));
}
{
MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: -1, topFlag: -1));
}
break;
case Key.Right:
{
MoveTargetArea(MoveRect(_targetWindowRect, 1, rightFlag: 1));
}
{
MoveTargetArea(MoveRect(_targetWindowRect, 1, rightFlag: 1));
}
break;
case Key.Down:
{
MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: 1, topFlag: 1));
}
{
MoveTargetArea(MoveRect(_targetWindowRect, bottomFlag: 1, topFlag: 1));
}
break;
case Key.Enter:
_saveScreenshot = true;
@@ -719,4 +719,4 @@ public class ScreenshotWindow : System.Windows.Window
_magnifier.Margin = new Thickness(point.X + 4, point.Y + 26, 0, 0);
_visualPreview.Viewbox = new Rect(new Point(point.X - _viewboxSize.Width / 2 + 0.5, point.Y - _viewboxSize.Height / 2 + 0.5), _viewboxSize);
}
}
}