ElectronDisplay.jl icon indicating copy to clipboard operation
ElectronDisplay.jl copied to clipboard

Right click menu

Open davidanthoff opened this issue 6 years ago • 2 comments

When one clicks with the right mouse on a thumbnail we should show a context menu that for now has one option, namely "Delete" that removes that plot.

davidanthoff avatar Dec 02 '19 01:12 davidanthoff

The code that works for me is here: https://electronjs.org/docs/api/menu#render-process

Since we need to run require to get electron functions, we have to detect whether we are using electron so that we can continue debugging with a browser. This package is probably a good way to do it: https://github.com/cheton/is-electron.

TonyLianLong avatar Jan 20 '20 22:01 TonyLianLong

I'll work on this issue as well as #14 and https://github.com/julia-vscode/plotgallery/issues/10 first.

TonyLianLong avatar Jan 20 '20 22:01 TonyLianLong