diff --git a/0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch b/0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch new file mode 100644 index 0000000..4249a0f --- /dev/null +++ b/0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch @@ -0,0 +1,24 @@ +From f695cde36a6829b8b92b2fd82deff16d9385fcb9 Mon Sep 17 00:00:00 2001 +From: Marco Martin +Date: Mon, 10 Feb 2020 11:48:50 +0100 +Subject: [PATCH] make headerParent correctly alignedwhen there is a scrollbar + +--- + src/controls/GlobalDrawer.qml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/controls/GlobalDrawer.qml b/src/controls/GlobalDrawer.qml +index 0e8e5120..9166ad7a 100644 +--- a/src/controls/GlobalDrawer.qml ++++ b/src/controls/GlobalDrawer.qml +@@ -301,6 +301,7 @@ OverlayDrawer { + anchors { + left: parent.left + right: parent.right ++ rightMargin: Math.min(0, -scrollView.width + mainFlickable.width) + } + spacing: 0 + y: bannerImage.visible ? Math.max(headerContainer.height, -mainFlickable.contentY) - height : 0 +-- +2.25.0 + diff --git a/kirigami2.changes b/kirigami2.changes index 9e86167..636cb75 100644 --- a/kirigami2.changes +++ b/kirigami2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 10 21:33:36 UTC 2020 - Christophe Giboudeaux + +- Add upstream patch 0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch + ------------------------------------------------------------------- Sun Feb 2 18:07:01 UTC 2020 - Christophe Giboudeaux diff --git a/kirigami2.spec b/kirigami2.spec index f6d1a33..538a939 100644 --- a/kirigami2.spec +++ b/kirigami2.spec @@ -35,6 +35,7 @@ Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}- Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif +Patch0: 0001-make-headerParent-correctly-alignedwhen-there-is-a-s.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: kf5-filesystem BuildRequires: cmake(Qt5Core) >= 5.7.0