public void MoveGuide(Guideline line, Point p) { if (!oldShowMousePosition.HasValue) { oldShowMousePosition = ShowMousePosition; ShowMousePosition = false; } line.SetPixel(p); RefreshGuides(); }
public void FinalizeGuide(Guideline line, Point p) { line.SetPixel(p); GuideManager.Intersection_Calculate(); RefreshGuides(); if (oldShowMousePosition.HasValue) { ShowMousePosition = oldShowMousePosition.Value; oldShowMousePosition = null; } }