diff --git a/YACReaderLibrary/qml.qrc b/YACReaderLibrary/qml.qrc
index 676430e3..8bdd2e31 100644
--- a/YACReaderLibrary/qml.qrc
+++ b/YACReaderLibrary/qml.qrc
@@ -27,5 +27,6 @@
qml/InfoTick.qml
qml/InfoFavorites.qml
qml/InfoRating.qml
+ qml/prerendered_cover_shadow.png
diff --git a/YACReaderLibrary/qml/GridComicsView.qml b/YACReaderLibrary/qml/GridComicsView.qml
index b43a0288..bede0f79 100644
--- a/YACReaderLibrary/qml/GridComicsView.qml
+++ b/YACReaderLibrary/qml/GridComicsView.qml
@@ -65,15 +65,19 @@ SplitView {
NumberAnimation { duration: 90 }
}
- DropShadow {
- anchors.fill: realCell
- horizontalOffset: 0
- verticalOffset: 0
- radius: 8.0
- samples: 17
- color: "#FF000000"
- source: realCell
- visible: showDropShadow;
+ BorderImage {
+ anchors {
+ top: realCell.top
+ left: realCell.left
+ right: realCell.right
+ bottom: realCell.bottom
+ margins: -10
+ }
+ border { left: 10; top: 10; right: 10; bottom: 10 }
+ horizontalTileMode: BorderImage.Stretch
+ verticalTileMode: BorderImage.Stretch
+ source: "prerendered_cover_shadow.png"
+ visible: showDropShadow
}
Rectangle {
diff --git a/YACReaderLibrary/qml/GridComicsView6.qml b/YACReaderLibrary/qml/GridComicsView6.qml
index a8ced7fc..75aad7cc 100644
--- a/YACReaderLibrary/qml/GridComicsView6.qml
+++ b/YACReaderLibrary/qml/GridComicsView6.qml
@@ -67,16 +67,19 @@ SplitView {
NumberAnimation { duration: 90 }
}
- DropShadow {
- anchors.fill: realCell
- transparentBorder: true
- horizontalOffset: 0
- verticalOffset: 0
- radius: 10.0
- //samples: 17
- color: "#FF000000"
- source: realCell
- visible: showDropShadow;
+ BorderImage {
+ anchors {
+ top: realCell.top
+ left: realCell.left
+ right: realCell.right
+ bottom: realCell.bottom
+ margins: -10
+ }
+ border { left: 10; top: 10; right: 10; bottom: 10 }
+ horizontalTileMode: BorderImage.Stretch
+ verticalTileMode: BorderImage.Stretch
+ source: "prerendered_cover_shadow.png"
+ visible: showDropShadow
}
Rectangle {
diff --git a/YACReaderLibrary/qml/prerendered_cover_shadow.png b/YACReaderLibrary/qml/prerendered_cover_shadow.png
new file mode 100644
index 00000000..6f693bc6
Binary files /dev/null and b/YACReaderLibrary/qml/prerendered_cover_shadow.png differ
diff --git a/YACReaderLibrary/qml6.qrc b/YACReaderLibrary/qml6.qrc
index bf837e4a..6eb3226f 100644
--- a/YACReaderLibrary/qml6.qrc
+++ b/YACReaderLibrary/qml6.qrc
@@ -27,5 +27,6 @@
qml/info-tag@2x.png
qml/info-tick.png
qml/info-tick@2x.png
+ qml/prerendered_cover_shadow.png