diff --git a/files/styles/style-dark.css b/files/styles/style-dark.css index 3287e307e40ed6b7651588bddc548b4935966e13..68da19cbe63e96d548559af5a6104805f8e4cf53 100644 --- a/files/styles/style-dark.css +++ b/files/styles/style-dark.css @@ -345,13 +345,14 @@ QPushButton, QToolButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777, stop: 1 #333); } -QPushButton#planePushButton, QPushButton#flyingWingPushButton, QPushButton#quadXPushButton, QPushButton#quadPlusPushButton, QPushButton#hPushButton { +QPushButton#planePushButton, QPushButton#flyingWingPushButton, QPushButton#quadXPushButton, +QPushButton#quadPlusPushButton, QPushButton#hexaXPushButton, QPushButton#hexaPlusPushButton, +QPushButton#octoXPushButton, QPushButton#octoPlusPushButton, QPushButton#hPushButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777, stop: 1 #333); border-radius: 12px; - min-height: 120px; - max-height: 140px; - min-width: 120px; - max-width: 140px; + min-height: 140px; + max-height: 240px; + min-width: 140px; border: 3px solid #465158; } diff --git a/src/ui/PrimaryFlightDisplay.cc b/src/ui/PrimaryFlightDisplay.cc index 7910775fed9787faffaf80e8f007b34c0fe59b19..cce53d63126473ab90ec851af9a22682a0c8a439 100644 --- a/src/ui/PrimaryFlightDisplay.cc +++ b/src/ui/PrimaryFlightDisplay.cc @@ -357,6 +357,7 @@ void PrimaryFlightDisplay::updateAttitude(UASInterface* uas, double roll, double if (yaw<0) yaw+=360; this->heading = yaw; } + } void PrimaryFlightDisplay::updateAttitude(UASInterface* uas, int component, double roll, double pitch, double yaw, quint64 timestamp)