mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +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
|
||||
// transform its matrix into the coordinates of background
|
||||
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 startY = blockMatrix.mapRect(m_renderer->boundsOnElement(element2)).y();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user