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

Fix copy to clipboard on Mac #659

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

matthew16550
Copy link
Collaborator

The previous code Toolkit.getDefaultToolkit().createImage() does not read the image file into memory but Clipboard.setContents() on Mac seems to need an image that is already in memory.

Fixes #559

The previous code `Toolkit.getDefaultToolkit().createImage()` does not read the image file into memory but Clipboard.setContents() on Mac seems to need an image that is already in memory.
@arnaudroques arnaudroques merged commit 3c286fd into plantuml:master Sep 8, 2021
@matthew16550 matthew16550 deleted the macos-copy branch September 8, 2021 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macOS a button copy doesn't work
2 participants