From f27de78fe1ce64b8daaf037822dfc13bc03e7d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 20 Feb 2022 18:02:11 +0100 Subject: [PATCH] Fix grid cell selection border Moving the DropShadow broke things in Qt5.15 --- YACReaderLibrary/qml/GridComicsView.qml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/YACReaderLibrary/qml/GridComicsView.qml b/YACReaderLibrary/qml/GridComicsView.qml index a2921723..50b7db6b 100644 --- a/YACReaderLibrary/qml/GridComicsView.qml +++ b/YACReaderLibrary/qml/GridComicsView.qml @@ -65,6 +65,17 @@ Rectangle { NumberAnimation { duration: 90 } } + DropShadow { + anchors.fill: realCell + horizontalOffset: 0 + verticalOffset: 0 + radius: 8.0 + samples: 17 + color: "#FF000000" + source: realCell + visible: (Qt.platform.os === "osx") ? false : true; + } + Rectangle { id: realCell @@ -252,17 +263,6 @@ Rectangle { } } - DropShadow { - anchors.fill: realCell - horizontalOffset: 0 - verticalOffset: 0 - radius: 8.0 - samples: 17 - color: "#FF000000" - source: realCell - visible: (Qt.platform.os === "osx") ? false : true; - } - /**/ //cover