summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/PlanetButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/planets-qml/PlanetButton.qml')
-rw-r--r--examples/qt3d/planets-qml/PlanetButton.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/planets-qml/PlanetButton.qml b/examples/qt3d/planets-qml/PlanetButton.qml
index 443244478..adfc8c2e5 100644
--- a/examples/qt3d/planets-qml/PlanetButton.qml
+++ b/examples/qt3d/planets-qml/PlanetButton.qml
@@ -95,7 +95,7 @@ Rectangle {
font.weight: Font.Light
color: "white"
opacity: {
- if (text == "Solar System")
+ if (text == "Solar System" || (Qt.platform.os === "tvos" && planetButton.activeFocus))
opacity = 1
else
opacity = 0