mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-07 07:26:05 +12:00
Don't show snap areas on freehand region
This commit is contained in:
parent
08d1d85df8
commit
c62e374620
|
@ -174,7 +174,7 @@ protected override void Update()
|
|||
protected override void Draw(Graphics g)
|
||||
{
|
||||
// Draw snap rectangles
|
||||
if (ShapeManager.IsCreating && ShapeManager.IsSnapResizing)
|
||||
if (ShapeManager.IsCreating && ShapeManager.IsSnapResizing && ShapeManager.CurrentShapeType != ShapeType.RegionFreehand)
|
||||
{
|
||||
BaseShape shape = ShapeManager.CurrentShape;
|
||||
|
||||
|
|
|
@ -135,7 +135,6 @@ public override void OnNodeUpdate()
|
|||
if (Manager.Nodes[(int)NodePosition.TopLeft].IsDragging)
|
||||
{
|
||||
Manager.IsCreating = true;
|
||||
|
||||
Manager.NodesVisible = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue