From fa2217c1880c33684fbe7c92f9504ab761f205cd Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Thu, 6 Jun 2019 12:20:43 -0700 Subject: [PATCH] DEV-113: Remove headphones icon from status indicator in top bar --- .../simplifiedUI/topBar/SimplifiedTopBar.qml | 18 ++++-------------- .../hifi/simplifiedUI/topBar/images/focus.svg | 13 ------------- 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 interface/resources/qml/hifi/simplifiedUI/topBar/images/focus.svg diff --git a/interface/resources/qml/hifi/simplifiedUI/topBar/SimplifiedTopBar.qml b/interface/resources/qml/hifi/simplifiedUI/topBar/SimplifiedTopBar.qml index 27a786ece2..36c882beb1 100644 --- a/interface/resources/qml/hifi/simplifiedUI/topBar/SimplifiedTopBar.qml +++ b/interface/resources/qml/hifi/simplifiedUI/topBar/SimplifiedTopBar.qml @@ -260,9 +260,7 @@ Rectangle { id: statusButton property string currentStatus anchors.centerIn: parent - anchors.horizontalCenterOffset: 1 - anchors.verticalCenterOffset: 2 - width: 13 + width: 15 height: width radius: width/2 visible: false @@ -270,7 +268,7 @@ Rectangle { ColorOverlay { anchors.fill: statusButton - opacity: statusButton.currentStatus ? 1 : 0 + opacity: statusButton.currentStatus ? (statusButtonMouseArea.containsMouse ? 1.0 : 0.7) : 0.7 source: statusButton color: if (statusButton.currentStatus === "busy") { "#ff001a" @@ -278,19 +276,11 @@ Rectangle { "#009036" } else if (statusButton.currentStatus) { "#ffed00" + } else { + "#7e8c81" } } - Image { - id: focusIcon - source: "./images/focus.svg" - opacity: statusButtonMouseArea.containsMouse ? 1.0 : (statusButton.currentStatus === "busy" ? 0.7 : 0.3) - anchors.centerIn: parent - width: 36 - height: 20 - fillMode: Image.PreserveAspectFit - } - MouseArea { id: statusButtonMouseArea anchors.fill: parent diff --git a/interface/resources/qml/hifi/simplifiedUI/topBar/images/focus.svg b/interface/resources/qml/hifi/simplifiedUI/topBar/images/focus.svg deleted file mode 100644 index f7950650c6..0000000000 --- a/interface/resources/qml/hifi/simplifiedUI/topBar/images/focus.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - image/svg+xml - - - - - - -