Mercurial > hg > orthanc-stone
changeset 862:ff3559c489c9 toa2019062401
Fixed line displayed string
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 24 Jun 2019 15:30:04 +0200 |
parents | f0bf971a1e31 |
children | ae3eccd0f545 |
files | Framework/Scene2DViewport/LineMeasureTool.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/LineMeasureTool.cpp Mon Jun 24 14:57:55 2019 +0200 +++ b/Framework/Scene2DViewport/LineMeasureTool.cpp Mon Jun 24 15:30:04 2019 +0200 @@ -150,7 +150,7 @@ double squareDist = deltaX * deltaX + deltaY * deltaY; double dist = sqrt(squareDist); char buf[64]; - sprintf(buf, "%0.02f units", dist); + sprintf(buf, "%0.02f mm", dist); // TODO: for now we simply position the text overlay at the middle // of the measuring segment