style(core): adjust app sidebar style

This commit is contained in:
Cats Juice
2025-06-18 17:42:48 +08:00
parent 138c35a0f9
commit 712cefd626
9 changed files with 35 additions and 85 deletions
@@ -925,7 +925,7 @@ export async function handleWebContentsResize(webContents?: WebContents) {
if (isMacOS()) {
const window = await getMainWindow();
const factor = webContents?.getZoomFactor() || 1;
window?.setWindowButtonPosition({ x: 16 * factor, y: 24 * factor - 6 });
window?.setWindowButtonPosition({ x: 14 * factor, y: 14 * factor - 2 });
}
}