making web backgrounds match theme so there aren't any flashbangs.

This commit is contained in:
Chris Cochrun 2024-04-13 06:22:35 -05:00
parent 6177219482
commit a2ba6e70bd
2 changed files with 2 additions and 0 deletions

View file

@ -150,6 +150,7 @@ Item {
url: isHtml ? presentation.filePath : ""
visible: isHtml
settings.playbackRequiresUserGesture: false
backgroundColor: Kirigami.Theme.backgroundColor
}
RowLayout {
Layout.fillWidth: true;

View file

@ -208,6 +208,7 @@ Item {
visible: htmlVisible
enabled: htmlVisible
zoomFactor: preview ? 0.25 : 1.0
backgroundColor: Kirigami.Theme.backgroundColor
onLoadingChanged: {
if (loadRequest.status == 2)
showPassiveNotification("yahoo?");