We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae449a4 commit 9e83d54Copy full SHA for 9e83d54
1 file changed
gcs/src/components/dashboard/indicator.jsx
@@ -55,7 +55,7 @@ export const AttitudeIndicator = (params) => {
55
style={{
56
...box,
57
top: "0%",
58
- transform: `rotate(${-params.roll ?? 0}deg)`,
+ transform: `rotate(${-(params.roll ?? 0)}deg)`,
59
}}
60
>
61
<img src={horizon_back} className="box" alt="" style={{ ...box }} />
@@ -77,7 +77,7 @@ export const HeadingIndicator = (params) => {
77
<Instrument {...params}>
78
<div
79
className="heading box"
80
- style={{ ...box, transform: `rotate(${-params.heading ?? 0}deg)` }}
+ style={{ ...box, transform: `rotate(${-(params.heading ?? 0)}deg)` }}
81
82
<img src={heading_yaw} className="box" style={box} alt="" />
83
</div>
0 commit comments