Replace drop shadow on the Flow Info view too

This commit is contained in:
Luis Ángel San Martín 2024-12-29 19:09:59 +01:00
parent dd82f1ecb4
commit 3ae3628c1f
4 changed files with 28 additions and 20 deletions

View File

@ -24,7 +24,7 @@ Version counting is based on semantic versioning (Major.Feature.Patch)
* Add a dialog to show information about a library, it includes the number of folders and comics and the number of read comics.
* Fix ocasional crashes when using automatic library updates.
* Add setting to hide the "Continue Reading..." banner from the home view.
* Improve Grid view performance.
* Improve Grid and Flow Info comics view scroll performance.
### YACReaderLibraryServer
* New command --system-info to print information about the execution environment and available resources (including what image formats are supported and what libraries are used by the app).

View File

@ -118,16 +118,20 @@ Rectangle {
running: coverElement.status === Image.Loading
}
DropShadow {
anchors.fill: coverElement
horizontalOffset: 0
verticalOffset: 0
radius: 6
samples: 17
color: "#BB000000"
source: coverElement
visible: showDropShadow;
BorderImage {
anchors {
top: coverElement.top
left: coverElement.left
right: coverElement.right
bottom: coverElement.bottom
margins: -6
}
border { left: 10; top: 10; right: 10; bottom: 10 }
horizontalTileMode: BorderImage.Stretch
verticalTileMode: BorderImage.Stretch
source: "prerendered_cover_shadow.png"
visible: showDropShadow
}
Image {
id: coverElement

View File

@ -124,16 +124,19 @@ Rectangle {
running: coverElement.status === Image.Loading
}
DropShadow {
transparentBorder: true
anchors.fill: coverElement
horizontalOffset: 0
verticalOffset: 0
radius: 6
//samples: 17
color: "#BB000000"
source: coverElement
visible: showDropShadow;
BorderImage {
anchors {
top: coverElement.top
left: coverElement.left
right: coverElement.right
bottom: coverElement.bottom
margins: -6
}
border { left: 10; top: 10; right: 10; bottom: 10 }
horizontalTileMode: BorderImage.Stretch
verticalTileMode: BorderImage.Stretch
source: "prerendered_cover_shadow.png"
visible: showDropShadow
}
Image {

View File

@ -68,6 +68,7 @@ YACReader::WhatsNewDialog::WhatsNewDialog(QWidget *parent)
" &#8226; Add a dialog to show information about a library, including the number of folders, comics, and read comics<br/>"
" &#8226; Fix occasional crashes when using automatic library updates<br/>"
" &#8226; Add setting to hide the \"Continue Reading...\" banner from the home view<br/>"
" &#8226; Improve Grid and Flow Info comics view scroll performance<br/>"
"<br/>"
"<span style=\"font-weight:600\">YACReaderLibraryServer</span><br/>"
" &#8226; New command --system-info to print information about the execution environment and available resources (including what image formats are supported and what libraries are used by the app).<br/>"