initial commit/backup

This commit is contained in:
2024-11-01 20:55:18 -04:00
commit bc53ce53b1
39 changed files with 10456 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
/**
* @param { @param {Electron.BrowserWindow} window} window
*/
export async function changeZoom(window, zoomIn = true, reset = false) {
let zl = window.webContents.getZoomLevel();
if (reset) zl = 0
else if (zoomIn) zl++;
else zl--;
window.webContents.setZoomLevel(zl);
}