mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-02 16:49:47 +02:00
Fix wallpaper custom margin
This commit is contained in:
parent
79af9688f8
commit
0fc196368b
@ -97,8 +97,7 @@ Rectangle {
|
||||
property string webViewUrl
|
||||
onStatusChanged: {
|
||||
if (loader.status === Loader.Ready) {
|
||||
if (Wallpaper.type === Wallpaper.WallpaperType.Html
|
||||
|| Wallpaper.type === Wallpaper.WallpaperType.ThreeJSScene) {
|
||||
if (Wallpaper.type === Wallpaper.WallpaperType.Html) {
|
||||
loader.item.url = loader.webViewUrl
|
||||
print(loader.item.url, " --- ", loader.webViewUrl)
|
||||
}
|
||||
@ -118,6 +117,7 @@ Rectangle {
|
||||
id: imgCover
|
||||
anchors {
|
||||
top: parent.top
|
||||
topMargin: -3 // To fix the offset from setupWallpaperForOneScreen
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user