mirror of
https://github.com/ShareX/ShareX.git
synced 2024-06-28 11:10:23 +12:00
Code cleanup
This commit is contained in:
parent
99f6967620
commit
a37116a0dc
|
@ -24,7 +24,6 @@
|
|||
#endregion License Information (GPL v3)
|
||||
|
||||
using ShareX.HelpersLib;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
@ -39,7 +38,8 @@ public class CutOutTool : BaseTool
|
|||
public bool IsHorizontalTrim => Rectangle.Width >= Options.MinimumSize && Rectangle.Width > Rectangle.Height;
|
||||
public bool IsVerticalTrim => Rectangle.Height >= Options.MinimumSize && Rectangle.Height >= Rectangle.Width;
|
||||
|
||||
public override bool IsValidShape {
|
||||
public override bool IsValidShape
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!IsHorizontalTrim && !IsVerticalTrim) return false;
|
||||
|
|
Loading…
Reference in a new issue