diff --git a/src/plugins/amethyst.discord b/src/plugins/amethyst.discord index 28f8632e..cdb9d773 160000 --- a/src/plugins/amethyst.discord +++ b/src/plugins/amethyst.discord @@ -1 +1 @@ -Subproject commit 28f8632e146c5eb28cfd81f55e74fc7a6f2efd61 +Subproject commit cdb9d7733ac4e9b5609499680b8ab58f1f421228 diff --git a/src/renderer/components/LazyList.vue b/src/renderer/components/LazyList.vue index 41960bd9..0cda2b2a 100644 --- a/src/renderer/components/LazyList.vue +++ b/src/renderer/components/LazyList.vue @@ -2,7 +2,7 @@ import { useElectron, useShortcuts, useState } from "@/amethyst"; import { Track } from "@/logic/track"; import BaseChip from "@/components/BaseChip.vue"; -import { PlayIcon, ExternalLinkIcon, LoadingIcon, BinocularsIcon, ErrorIcon } from "@/icons/material"; +import { PlayIcon, ExternalLinkIcon, LoadingIcon, ProcessIcon, BinocularsIcon, ErrorIcon } from "@/icons/material"; import Cover from "@/components/CoverArt.vue"; import { player } from "@/logic/player"; import { useContextMenu } from "@/components/ContextMenu"; @@ -20,7 +20,7 @@ const handleContextMenu = ({x, y}: MouseEvent, track: Track) => { useContextMenu().open({x, y}, [ { title: "Play", icon: PlayIcon, action: () => player.play(track) }, { title: "Inspect", icon: BinocularsIcon, action: () => useInspector().inspectAndShow(track) }, - { title: "Encode to .dfpwm", icon: BinocularsIcon, action: async () => { + { title: "Encode to .dfpwm...", icon: ProcessIcon, action: async () => { saveArrayBufferToFile( await convertDfpwm(await track.getArrayBuffer()), { diff --git a/src/renderer/icons/material/ProcessIcon.vue b/src/renderer/icons/material/ProcessIcon.vue new file mode 100644 index 00000000..51be5f14 --- /dev/null +++ b/src/renderer/icons/material/ProcessIcon.vue @@ -0,0 +1,23 @@ + \ No newline at end of file diff --git a/src/renderer/icons/material/index.ts b/src/renderer/icons/material/index.ts index 184c2e27..9940e679 100644 --- a/src/renderer/icons/material/index.ts +++ b/src/renderer/icons/material/index.ts @@ -40,9 +40,11 @@ import ExternalLinkIcon from "./ExternalLinkIcon.vue"; import BinocularsIcon from "./BinocularsIcon.vue"; import ImageIcon from "./ImageIcon.vue"; import NoImageIcon from "./NoImageIcon.vue"; +import ProcessIcon from "./ProcessIcon.vue"; export { DiscordIcon, + ProcessIcon, LoadingIcon, GitHubIcon, BinocularsIcon,