From 71e51b13b31cc7886cb3e19ee9ddc58e29a75337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Wed, 15 Sep 2021 06:36:16 +0100 Subject: [PATCH] Add extra check for stroke --- UVtools.WPF/MainWindow.Issues.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UVtools.WPF/MainWindow.Issues.cs b/UVtools.WPF/MainWindow.Issues.cs index d079d9b..7e79cda 100644 --- a/UVtools.WPF/MainWindow.Issues.cs +++ b/UVtools.WPF/MainWindow.Issues.cs @@ -524,11 +524,11 @@ namespace UVtools.WPF foreach (var value in issuesCountPerLayer) { var yPos = tickFrequencySize * value.Key; - if (value.Key == 0) + if (value.Key == 0 && stroke > 3) { yPos += tickFrequencySize / 2; } - else if(value.Key == SlicerFile.LastLayerIndex) + else if(value.Key == SlicerFile.LastLayerIndex && stroke > 3) { yPos -= tickFrequencySize / 2; }