From 160fee245cfa7803475036bb51b766ed43a4388e Mon Sep 17 00:00:00 2001 From: Jamie Sharpe Date: Sun, 9 Aug 2020 14:05:42 +0100 Subject: [PATCH] Fixed ruler disappearing when the region box is too small. --- ShareX.ScreenCaptureLib/RegionCaptureTasks.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs b/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs index b7cd806d0..ce64d9423 100644 --- a/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs +++ b/ShareX.ScreenCaptureLib/RegionCaptureTasks.cs @@ -156,6 +156,7 @@ public static void ShowScreenRuler(RegionCaptureOptions options) RegionCaptureOptions newOptions = GetRegionCaptureOptions(options); newOptions.QuickCrop = false; newOptions.UseLightResizeNodes = true; + newOptions.MinimumSize = 0; using (RegionCaptureForm form = new RegionCaptureForm(RegionCaptureMode.Ruler, newOptions)) {