@ -83,8 +83,8 @@ Column {
/ /
function containsMouse ( ) {
return area1 . containsMouse || area2 . containsMouse || area3 . containsMouse || area4 . containsMouse ;
/ / | | ( a r e a 5 & & a r e a 5 . c o n t a i n s M o u s e ) | | ( a r e a 6 & & a r e a 6 . c o n t a i n s M o u s e ) | | ( a r e a 7 & & a r e a 7 . c o n t a i n s M o u s e ) ;
return area1 . containsMouse || area2 . containsMouse || area3 . containsMouse || area4 . containsMouse
|| ( playbackLoader . active && playbackLoader . item . containsMouse ( ) ) ;
}
/ / l a u n c h e r i c o n + t e x t l a b e l s + c l o s e b u t t o n
@ -265,8 +265,10 @@ Column {
Loader {
id: playbackLoader
anchors.fill: thumbnail
sourceComponent: hasPlayer ? playerControlsComp : undefined
active: hasPlayer
sourceComponent: playerControlsComp
}
Component {
@ -285,6 +287,10 @@ Column {
/ / o n C l i c k e d : m p r i s 2 S o u r c e . r a i s e ( m p r i s S o u r c e N a m e )
/ / }
function containsMouse ( ) {
return area5 . containsMouse || area6 . containsMouse || area7 . containsMouse || area8 . containsMouse ;
}
Item {
id: playerControlsFrostedGlass
anchors.fill: parent
@ -314,7 +320,11 @@ Column {
/ / p r e v e n t a c c i d e n t a l c l i c k - t h r o u g h w h e n a c o n t r o l i s d i s a b l e d
MouseArea {
id: area5
anchors.fill: playerControlsRow
hoverEnabled: true
onContainsMouseChanged: mainToolTip . mouseIsInside ( ) ;
}
RowLayout {
@ -349,7 +359,7 @@ Column {
}
MouseArea {
id: area 5
id: area 6
height: units . iconSizes . smallMedium
width: height
@ -371,7 +381,7 @@ Column {
}
MouseArea {
id: area 6
id: area 7
height: units . iconSizes . medium
width: height
@ -391,7 +401,7 @@ Column {
}
MouseArea {
id: area 7
id: area 8
height: units . iconSizes . smallMedium
width: height