adding bubble icon (not working)

This commit is contained in:
Wayne Chen 2019-02-27 10:38:26 -08:00
parent 1ba366c0d7
commit 915d22bb15

View file

@ -8,6 +8,7 @@
import Hifi 1.0 as Hifi
import QtQuick 2.4
import QtGraphicalEffects 1.0
import "./hifi/audio" as HifiAudio
@ -21,10 +22,29 @@ Item {
readonly property bool shouldReposition: true;
HifiAudio.MicBar {
HifiAudio.MicBarApplication {
id: audio;
visible: AvatarInputs.showAudioTools;
standalone: true;
dragTarget: parent;
dragTarget: parent;
}
Image {
id: bubbleIcon
source: "../icons/tablet-icons/bubble-i.svg";
width: 28;
height: 28;
anchors {
left: root.right
top: root.top
topMargin: (root.height - bubbleIcon.height) / 2
}
}
ColorOverlay {
anchors.fill: bubbleIcon
source: bubbleIcon
color: Users.getIgnoreRadiusEnabled() ? Qt.rgba(31, 198, 166, 0.3) : Qt.rgba(255, 255, 255, 0.3);
onColorChanged: {
console.log("colorChanged")
}
}
}