mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Removed annotation enabled setting because it is possible to configure each mouse button actions now
This commit is contained in:
parent
05c6956dc9
commit
df3b8b4a59
2 changed files with 1 additions and 5 deletions
|
@ -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; }
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue