mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
[Radar] Rotate speed indicator with own heading
This commit is contained in:
committed by
Mat Sutcliffe
parent
c187c701d5
commit
be9e2a37f3
@@ -192,7 +192,6 @@ namespace BlackGui
|
||||
QPen pen(Qt::green, 1);
|
||||
pen.setCosmetic(true);
|
||||
QGraphicsLineItem *li = new QGraphicsLineItem(QLineF({ 0.0, 0.0 }, polarPoint(20.0, headingRad)), dot);
|
||||
li->setFlags(QGraphicsItem::ItemIgnoresTransformations);
|
||||
li->setPen(pen);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user