mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
adding bubble icon (not working)
This commit is contained in:
parent
1ba366c0d7
commit
915d22bb15
1 changed files with 22 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue