applied new context menu to more items

This commit is contained in:
booploops 2022-01-13 03:56:41 -08:00
parent 5e19de0d83
commit c20d839a2e
3 changed files with 61 additions and 47 deletions

View file

@ -134,6 +134,7 @@
"addToFavorites": {
name: "Add to favorites",
disabled: true,
hidden: true,
action: () => {
this.addFavorite(playlist_id, "library-playlists")
}
@ -143,7 +144,7 @@
if(this.item.type === "library-playlist-folders") {
menu.items.addToFavorites.disabled = true
}
CiderContextMenu.Create(event, menu)
app.showMenuPanel(menu, event)
},
dragOver(evt) {
evt.preventDefault();