Compare commits

...

2 Commits

Author SHA1 Message Date
metacryst
be155ae913 Merge branch 'main' of https://git.sun.museum/sam/Hyperia 2025-12-01 03:14:59 -06:00
metacryst
9d43362cae webp vs. png for fabric background 2025-12-01 03:14:57 -06:00
3 changed files with 7 additions and 8 deletions

View File

@@ -11,8 +11,7 @@ function createWindow() {
height: 800, height: 800,
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
contextIsolation: false, contextIsolation: false
icon: path.join(__dirname, '_', 'fabric.png')
} }
}); });
win.loadFile(path.join(__dirname, 'index.html')); win.loadFile(path.join(__dirname, 'index.html'));

BIN
ui/_/images/fabric.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

View File

@@ -9,7 +9,7 @@
body { body {
font-size: 16px; font-size: 16px;
background-image: url("/_/images/fabric.png"); background-image: url("/_/images/fabric.webp");
background-size: 33vw auto; /* width height of each tile */ background-size: 33vw auto; /* width height of each tile */
} }
</style> </style>