mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
style(core): adjust app sidebar style
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user