🐛 Fix(custom): optimize minipage ui #374

ISSUES CLOSED: y
This commit is contained in:
Kuingsmile
2025-08-20 16:09:21 +08:00
parent 6b45632ede
commit c6537c13d9
2 changed files with 13 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ const getDefaultWindowSizes = (): { width: number; height: number } => {
}
}
function setMiniWindowShape(win: BrowserWindow) {
export function setMiniWindowShape(win: BrowserWindow) {
const radius = 32
const shape: Rectangle[] = []
@@ -226,7 +226,6 @@ windowList.set(IWindowList.MINI_WINDOW, {
hash: 'mini-page'
})
}
setMiniWindowShape(window)
}
})