diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.ts index 310b9734588f9451567bea312a0eb3fb5bc43ce4..867878e8ef4cdaad466fde791edf983ad3ddd240 100644 --- a/apps/desktop/src/main.ts +++ b/apps/desktop/src/main.ts @@ -1695,6 +1695,14 @@ function createWindow(): BrowserWindow { ); } + if (params.mediaType === "image") { + menuTemplate.push({ + label: "Copy Image", + click: () => window.webContents.copyImageAt(params.x, params.y), + }); + menuTemplate.push({ type: "separator" }); + } + menuTemplate.push( { role: "cut", enabled: params.editFlags.canCut }, { role: "copy", enabled: params.editFlags.canCopy },