Skip to content

Commit

Permalink
Change the default background to black (#25)
Browse files Browse the repository at this point in the history
* change background color to black

If the page doesn't load fast enough, a white screen will show on the
desktop because the default backgroundColor is white. Changing it to
black makes the screen easier on the eyes before the HTML page is
pre-loaded.

* ignore build folder generated by build.sh
  • Loading branch information
Jonathing authored Jun 15, 2024
1 parent 912b75a commit 2350a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/build

1 change: 1 addition & 0 deletions package/contents/ui/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ WallpaperItem {
anchors.fill: parent
url: wallpaper.configuration.DisplayPage
zoomFactor: wallpaper.configuration.ZoomFactor
backgroundColor: "black"
onCertificateError: function (error) {
if (wallpaper.configuration.InsecureHTTPS) {
error.acceptCertificate()
Expand Down

0 comments on commit 2350a19

Please sign in to comment.