From 795373e74efa9f852bfdd50d8a278e95f20818c3 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 27 Apr 2017 13:32:52 +0300 Subject: [PATCH] Fixed issue #672. Labels are turning oposite directions. --HG-- branch : release --- src/libs/vtools/tools/vtoolseamallowance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vtools/tools/vtoolseamallowance.cpp b/src/libs/vtools/tools/vtoolseamallowance.cpp index bb2441ceb..f9e23d19f 100644 --- a/src/libs/vtools/tools/vtoolseamallowance.cpp +++ b/src/libs/vtools/tools/vtoolseamallowance.cpp @@ -581,7 +581,7 @@ void VToolSeamAllowance::UpdateLabel() } m_dataLabel->setPos(pos); - m_dataLabel->setRotation(-labelAngle); + m_dataLabel->setRotation(-labelAngle);// expects clockwise direction m_dataLabel->Update(); m_dataLabel->show(); } @@ -639,7 +639,7 @@ void VToolSeamAllowance::UpdatePatternInfo() } m_patternInfo->setPos(pos); - m_patternInfo->setRotation(labelAngle); + m_patternInfo->setRotation(-labelAngle);// expects clockwise direction m_patternInfo->Update(); m_patternInfo->GetTextLines() > 0 ? m_patternInfo->show() : m_patternInfo->hide(); }