Skip to content
Snippets Groups Projects
Commit 13ef62ea authored by Aline Gondim Santos's avatar Aline Gondim Santos
Browse files

callactionbar: freeze bar when hovered

Change-Id: Ie899a956d352d4a285480c75392bf79751b63e60
GitLab: #1005
parent 2f3d0685
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ Control { ...@@ -39,6 +39,7 @@ Control {
property alias overflowOpen: overflowButton.popup.visible property alias overflowOpen: overflowButton.popup.visible
property bool subMenuOpen: false property bool subMenuOpen: false
property real parentHeight property real parentHeight
property bool barHovered: false
property real itemSpacing: 2 property real itemSpacing: 2
...@@ -65,6 +66,7 @@ Control { ...@@ -65,6 +66,7 @@ Control {
height: width height: width
barWidth: root.width barWidth: root.width
onSubMenuVisibleChanged: subMenuOpen = subMenuVisible onSubMenuVisibleChanged: subMenuOpen = subMenuVisible
onHoveredChanged: root.barHovered = hovered
} }
} }
......
...@@ -51,7 +51,7 @@ Item { ...@@ -51,7 +51,7 @@ Item {
property alias callActionBar: __callActionBar property alias callActionBar: __callActionBar
property bool frozen: callActionBar.overflowOpen || property bool frozen: callActionBar.overflowOpen ||
callActionBar.hovered || callActionBar.barHovered ||
callActionBar.subMenuOpen || callActionBar.subMenuOpen ||
participantCallInStatusView.visible participantCallInStatusView.visible
...@@ -274,6 +274,7 @@ Item { ...@@ -274,6 +274,7 @@ Item {
width: parent.width width: parent.width
height: 55 height: 55
parentHeight: root.height - 81 parentHeight: root.height - 81
visible: root.opacity
} }
Behavior on opacity { Behavior on opacity {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment