on xenial help sign in
Do not show a "back" icon in the bfb when the drawer is open
commit3ba1a71f4695219493e275b81df9edfc58bbdc4f authorDalton Durst <d@ltondur.st> dateFri 12 Apr 2019, 20:19 (8 years ago) parentc53f8c9
2 files changed+1−10
qml/Launcher/Launcher.qml−3 qml/Launcher/LauncherPanel.qml+1−7
qml/Launcher/Launcher.qml−3
@@ -592,7 +592,6 @@ FocusScope {
592592 PropertyChanges {
593593 target: panel
594594 x: -root.panelWidth
595− showCloseIcon: false
596595 }
597596 PropertyChanges {
598597 target: drawer
@@ -605,7 +604,6 @@ FocusScope {
605604 PropertyChanges {
606605 target: panel
607606 x: -root.x // so we never go past panelWidth, even when teased by tutorial
608− showCloseIcon: false
609607 focus: true
610608 }
611609 PropertyChanges {
@@ -624,7 +622,6 @@ FocusScope {
624622 }
625623 PropertyChanges {
626624 target: panel
627− showCloseIcon: true
628625 }
629626 },
630627 State {
qml/Launcher/LauncherPanel.qml+1−7
@@ -35,7 +35,6 @@ Rectangle {
3535 property bool moving: launcherListView.moving || launcherListView.flicking
3636 property bool preventHiding: moving || dndArea.draggedIndex >= 0 || quickList.state === "open" || dndArea.pressed
3737 || dndArea.containsMouse || dashItem.hovered
38− property bool showCloseIcon: false
3938 property int highlightIndex: -2
4039 property bool shortcutHintsShown: false
4140 readonly property bool quickListOpen: quickList.state === "open"
@@ -96,12 +95,7 @@ Rectangle {
9695 width: parent.width * .6
9796 height: width
9897 anchors.centerIn: parent
99− source: {
100− if (root.showCloseIcon) {
101− return "/usr/share/icons/suru/actions/scalable/back.svg";
102− }
103− return "graphics/home.svg";
104− }
98+ source: "graphics/home.svg"
10599 color: "white"
106100 rotation: root.rotation
107101 }