From 450fe4b530f6f3c9493e186c5abee924046d989d Mon Sep 17 00:00:00 2001 From: Peter L Jones Date: Sun, 26 May 2019 18:43:11 +0100 Subject: [PATCH] Fix alignment of markers to axes --- src/historygraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/historygraph.cpp b/src/historygraph.cpp index c64131aa..557b25fc 100644 --- a/src/historygraph.cpp +++ b/src/historygraph.cpp @@ -252,5 +252,5 @@ void AHistoryGraph::AddMarker ( const SHistoryData& curHistoryData ) break; } - point( curPointX, curPointY, curPointSize, curPointColour ); + point( curPointX - curPointSize / 2, curPointY - curPointSize / 2, curPointSize, curPointColour ); }