Removed annotation enabled setting because it is possible to configure each mouse button actions now

This commit is contained in:
Jaex 2016-06-17 21:31:12 +03:00
parent 05c6956dc9
commit df3b8b4a59
2 changed files with 1 additions and 5 deletions

View file

@ -49,9 +49,6 @@ public class SurfaceOptions
[DefaultValue(RegionCaptureAction.CaptureFullscreen), Description("What should happen when you mouse 5 click in region capture?"), TypeConverter(typeof(EnumDescriptionConverter))]
public RegionCaptureAction Mouse5ClickAction { get; set; }
[DefaultValue(true), Description("If annotation is disabled then right click will cancel screen capture instead of opening options menu.")]
public bool AnnotationEnabled { get; set; }
[DefaultValue(true), Description("Allows selection of window regions in region capture.")]
public bool DetectWindows { get; set; }

View file

@ -2128,8 +2128,7 @@ private void CaptureRegion(CaptureType captureType, TaskSettings taskSettings, b
{
default:
case CaptureType.Rectangle:
RectangleRegionMode mode = taskSettings.CaptureSettings.SurfaceOptions.AnnotationEnabled ? RectangleRegionMode.Annotation : RectangleRegionMode.Default;
form = new RectangleRegionForm(mode);
form = new RectangleRegionForm(RectangleRegionMode.Annotation);
break;
case CaptureType.Polygon:
form = new PolygonRegionForm();