mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-09 17:49:53 +08:00
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user