Wallpaper refining (#81)
* Wallpaper refining - Swww: allow all images formats supported by Swww but only show the one we can render in the panel - Fix: timer should be restarted when selecting a wallpaper - Fix: avoid recomputing selected thumbnail by altering the border width - Removed LazyLoader as it was not helping * Wallpapers changes - revert: maintaining a single list all wallpapers, support only basic images format. - settings: reordered wallpapers settings and made the Swww settings conditionals to activating the useSWWW toggle * Fix broken avatar display in Panel, Settings and LockScreen --------- Co-authored-by: Sébastien Atoch <sebastien@atracktiv.com>
This commit is contained in:
parent
e71fecb521
commit
de94d94265
7 changed files with 228 additions and 143 deletions
|
|
@ -7,6 +7,11 @@ import QtQuick.Effects
|
|||
Item {
|
||||
anchors.fill: parent
|
||||
|
||||
anchors.leftMargin: 2
|
||||
anchors.rightMargin: 2
|
||||
anchors.topMargin: 2
|
||||
anchors.bottomMargin: 2
|
||||
|
||||
IconImage {
|
||||
id: avatarImage
|
||||
anchors.fill: parent
|
||||
|
|
@ -18,7 +23,7 @@ Item {
|
|||
}
|
||||
|
||||
MultiEffect {
|
||||
anchors.fill: avatarImage
|
||||
anchors.fill: parent
|
||||
source: avatarImage
|
||||
maskEnabled: true
|
||||
maskSource: mask
|
||||
|
|
@ -27,13 +32,11 @@ Item {
|
|||
|
||||
Item {
|
||||
id: mask
|
||||
|
||||
anchors.fill: avatarImage
|
||||
anchors.fill: parent
|
||||
layer.enabled: true
|
||||
visible: false
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: avatarImage
|
||||
anchors.fill: parent
|
||||
radius: avatarImage.width / 2
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue