feat: add history back & forward for desktop app (#1926)

This commit is contained in:
Qi
2023-04-14 17:19:52 +08:00
committed by GitHub
parent bd387f6551
commit 261a41f8da
10 changed files with 72 additions and 65 deletions

View File

@@ -14,7 +14,7 @@ async function createWindow() {
const browserWindow = new BrowserWindow({
titleBarStyle: isMacOS() ? 'hiddenInset' : 'default',
trafficLightPosition: { x: 20, y: 18 },
trafficLightPosition: { x: 24, y: 18 },
x: mainWindowState.x,
y: mainWindowState.y,
width: mainWindowState.width,