Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right click menu #49

Open
davidanthoff opened this issue Dec 2, 2019 · 2 comments
Open

Right click menu #49

davidanthoff opened this issue Dec 2, 2019 · 2 comments
Assignees

Comments

@davidanthoff
Copy link
Member

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.

@TonyLianLong
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants