mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2025-02-01 13:01:47 +01:00
Add description text when the wallpaper does not render to guide the user to disable the VisualsPaused feature if he can read this
This commit is contained in:
parent
422c4ef189
commit
3b5ee229d5
@ -65,6 +65,20 @@ Item {
|
|||||||
onTriggered: requestFadeIn()
|
onTriggered: requestFadeIn()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
|
id: txtVisualsPaused
|
||||||
|
text: qsTr("If you can read this, then the VisualsPaused optimization does not work on your system. You can fix this by disable this in: \n Settings -> Perfromance -> Pause wallpaper video rendering while another app is in the foreground ")
|
||||||
|
font.pointSize: 32
|
||||||
|
visible: false
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||||
|
anchors.centerIn: parent
|
||||||
|
|
||||||
|
width: parent.width * .8
|
||||||
|
color: "white"
|
||||||
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: window
|
target: window
|
||||||
|
|
||||||
@ -122,6 +136,7 @@ Item {
|
|||||||
onVisualsPausedChanged:{
|
onVisualsPausedChanged:{
|
||||||
if(window.checkWallpaperVisible){
|
if(window.checkWallpaperVisible){
|
||||||
webView.visible = !visualsPaused
|
webView.visible = !visualsPaused
|
||||||
|
txtVisualsPaused.visible = visualsPaused
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user