diff --git a/gui/controls2_515/components/NavigatorInfo.qml b/gui/controls2_515/components/NavigatorInfo.qml index c3d4048..3974ec3 100644 --- a/gui/controls2_515/components/NavigatorInfo.qml +++ b/gui/controls2_515/components/NavigatorInfo.qml @@ -194,16 +194,10 @@ Item { id: speed anchors.verticalCenter: parent.verticalCenter text: Converter.readableSpeed(navigator.currentSpeed > 0 ? navigator.currentSpeed : 0.0) - color: styleMap.popover.foregroundColor + color: (navigator.maximumSpeed > 0 && navigator.maximumSpeed < navigator.currentSpeed + ? "red" : styleMap.popover.foregroundColor) font.pixelSize: units.fs("x-large") } - Label { - id: maxspeed - anchors.verticalCenter: parent.verticalCenter - text: navigator.maximumSpeed > 0 ? Converter.readableSpeed(navigator.maximumSpeed) : "" - color: styleMap.popover.highlightedColor - font.pixelSize: units.fs("medium") - } MapIcon { anchors.verticalCenter: parent.verticalCenter source: { @@ -226,7 +220,7 @@ Item { anchors.verticalCenter: parent.verticalCenter text: navigator.arrivalEstimate + " ~ " + Converter.panelDistance(navigator.remainingDistance) color: styleMap.popover.foregroundColor - font.pixelSize: units.fs("medium") + font.pixelSize: units.fs("large") } } }