We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e231681 commit 12c3af7Copy full SHA for 12c3af7
1 file changed
apps/desktop/src/main.ts
@@ -1695,6 +1695,14 @@ function createWindow(): BrowserWindow {
1695
);
1696
}
1697
1698
+ if (params.mediaType === "image") {
1699
+ menuTemplate.push({
1700
+ label: "Copy Image",
1701
+ click: () => window.webContents.copyImageAt(params.x, params.y),
1702
+ });
1703
+ menuTemplate.push({ type: "separator" });
1704
+ }
1705
+
1706
menuTemplate.push(
1707
{ role: "cut", enabled: params.editFlags.canCut },
1708
{ role: "copy", enabled: params.editFlags.canCopy },
0 commit comments