From d36d669ddfd447fbbe28faef18457177bf102881 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 17 Apr 2025 11:41:22 +1000 Subject: Tweak SC_MARK_BAR to be slightly wider. --- src/LineMarker.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index 85d8a7b59..31287883a 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -521,7 +521,7 @@ void LineMarker::Draw(Surface *surface, const PRectangle &rcWhole, const Font *f // Hide cap by continuing a bit. constexpr XYPOSITION continueLength = 5.0; PRectangle rcBar = rcWhole; - const XYPOSITION widthBar = std::floor(rcWhole.Width() / 3.0); + const XYPOSITION widthBar = std::ceil(rcWhole.Width() / 3.0); rcBar.left = centreX - std::floor(widthBar / 2.0); rcBar.right = rcBar.left + widthBar; surface->SetClip(rcWhole); // Hide continued caps -- cgit v1.2.3