mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
OP-1283 spelling error in comment corrected
This commit is contained in:
parent
f73d75704b
commit
c8c9411fca
@ -112,7 +112,7 @@ void SystemHealthGadgetWidget::updateAlarms(UAVObject *systemAlarm)
|
|||||||
// element2 is in global coordinates
|
// element2 is in global coordinates
|
||||||
// transform its matrix into the coordinates of background
|
// transform its matrix into the coordinates of background
|
||||||
QMatrix blockMatrix = backgroundMatrix.inverted() * m_renderer->matrixForElement(element2);
|
QMatrix blockMatrix = backgroundMatrix.inverted() * m_renderer->matrixForElement(element2);
|
||||||
// use this composed projection to get the position in background corrdinates
|
// use this composed projection to get the position in background coordinates
|
||||||
qreal startX = blockMatrix.mapRect(m_renderer->boundsOnElement(element2)).x();
|
qreal startX = blockMatrix.mapRect(m_renderer->boundsOnElement(element2)).x();
|
||||||
qreal startY = blockMatrix.mapRect(m_renderer->boundsOnElement(element2)).y();
|
qreal startY = blockMatrix.mapRect(m_renderer->boundsOnElement(element2)).y();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user