mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 19:18:13 -05:00
🐛 Fix: fix tray image after drag
This commit is contained in:
parent
c4e5b1f2fe
commit
22f8aa84bc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user