on xenial help sign in
also take panel height into account when positioning
commitb3d028da065dd33784e48f07f2f352e9841fc222 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateWed 11 May 2016, 14:58 (10 years ago) parent9aff648
1 file changed+2−1
qml/Shell.qml+2−1
qml/Shell.qml+2−1
@@ -620,10 +620,11 @@ Item {
620620 KeyboardShortcutsOverlay {
621621 objectName: "shortcutsOverlay"
622622 visible: launcher.shortcutHintsShown && width < parent.width - (launcher.lockedVisible ? launcher.panelWidth : 0) - padding
623− && height < parent.height - padding
623+ && height < parent.height - padding - panel.panelHeight
624624 enabled: visible
625625 anchors.centerIn: parent
626626 anchors.horizontalCenterOffset: launcher.lockedVisible ? launcher.panelWidth/2 : 0
627+ anchors.verticalCenterOffset: panel.panelHeight/2
627628 opacity: visible? 0.95 : 0
628629 Behavior on opacity {
629630 OpacityAnimator { duration: UbuntuAnimation.FastDuration; easing: UbuntuAnimation.StandardEasing }