mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-07 00:17:03 +08:00
🐛 Fix: fix tray image after drag
This commit is contained in:
@@ -387,7 +387,7 @@ export function createTray () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
tray.on('drag-end', () => {
|
tray.on('drag-end', () => {
|
||||||
tray!.setImage(`${__static}/menubar.png`)
|
tray!.setImage(getTrayIcon())
|
||||||
})
|
})
|
||||||
|
|
||||||
// drop-files only be supported in macOS
|
// drop-files only be supported in macOS
|
||||||
|
|||||||
Reference in New Issue
Block a user