~unity-team/unity8/trunk

« back to all changes in this revision

Viewing changes to qml/Launcher/LauncherPanel.qml

  • Committer: Bileto Bot
  • Author(s): Albert Astals Cid
  • Date: 2017-02-16 13:46:11 UTC
  • mfrom: (2800.2.2 ehwlmio)
  • Revision ID: ci-train-bot@canonical.com-20170216134611-spw0zti0puzd26al
Eat hover events when the launcher quicklist is open

This way we don't change the mouse cursor wrongly to resize windows for example (LP: #1640776)

Approved by: Michael Zanetti, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                                 || dndArea.containsMouse || dashItem.hovered
36
36
    property int highlightIndex: -2
37
37
    property bool shortcutHintsShown: false
 
38
    readonly property bool quickListOpen: quickList.state === "open"
38
39
 
39
40
    signal applicationSelected(string appId)
40
41
    signal showDashHome()
686
687
    InverseMouseArea {
687
688
        anchors.fill: quickListShape
688
689
        enabled: quickList.state == "open" || pressed
 
690
        hoverEnabled: enabled
 
691
        visible: enabled
689
692
 
690
693
        onClicked: {
691
694
            quickList.state = "";