/// <summary> /// Ends user intercation logic, like mouseup /// </summary> /// <param name="p">Last point</param> public void PressUp(Point p) { if ((((HasNoLayers)|(!_pressed))) || (!SelectedLayer.IsVisible)) return; _pressed = false; if (PanMode) return; SelectedLayer.Apply(); _points.Clear(); }