diff options
author | Oleg Yadrov <oleg.yadrov@qt.io> | 2016-10-17 16:09:52 -0700 |
---|---|---|
committer | Oleg Yadrov <oleg.yadrov@qt.io> | 2016-10-28 22:34:28 +0000 |
commit | 59fc9863568456e3a5113f5633354d8d0fad00be (patch) | |
tree | be7d1a3600d64d84a25812ce11cfa586efbcd4da /examples/qt3d/planets-qml/PlanetButton.qml | |
parent | 8be45352146be822e45e9d563d8e74687fa0fd0e (diff) |
Port Planets QML example to Apple TV
Change-Id: I254cbc1643fcb5b67af8338c0b7adc8c25829f9d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'examples/qt3d/planets-qml/PlanetButton.qml')
-rw-r--r-- | examples/qt3d/planets-qml/PlanetButton.qml | 2 |
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 |