Mercurial > hg > svgui
diff layer/TimeInstantLayer.cpp @ 1273:61418c112281
Adjust y-coord of text labels to accommodate larger scaled fonts
author | Chris Cannam |
---|---|
date | Tue, 24 Apr 2018 10:15:54 +0100 |
parents | a34a2a25907c |
children | c39f2d439d59 |
line wrap: on
line diff
--- a/layer/TimeInstantLayer.cpp Mon Apr 23 16:06:27 2018 +0100 +++ b/layer/TimeInstantLayer.cpp Tue Apr 24 10:15:54 2018 +0100 @@ -458,8 +458,10 @@ } if (good) { - PaintAssistant::drawVisibleText(v, paint, x + iw + 2, textY, p.label, PaintAssistant::OutlinedText); -// paint.drawText(x + iw + 2, textY, p.label); + PaintAssistant::drawVisibleText(v, paint, + x + iw + 2, textY, + p.label, + PaintAssistant::OutlinedText); } }