1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Fixed tick box size computation

This commit is contained in:
Martin Tůma 2019-05-29 21:24:37 +02:00
parent 47206316b7
commit 494a8a6da1

View File

@ -326,7 +326,7 @@ void PathItem::updateTicks()
int ts = tickSize();
int tc = _path.last().last().distance() / (ts * xInM());
QRect tr = PathTickItem::tickRect(ts * (tc - 1));
QRect tr = PathTickItem::tickRect(ts * tc);
_ticks.resize(tc);
for (int i = 0; i < tc; i++) {