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

Enable paste support in views.Application #555

Closed
wants to merge 1 commit into from

Conversation

chrBrd
Copy link
Contributor

@chrBrd chrBrd commented Sep 9, 2022

Fixes #552

Identical to c3ed795, but for pasting.

I considered adding the option to disable the mouse and pasting as some people may want to do so, but don't want to dump too much at once. Let me know if the functionality would be welcomed. :)

…hods.

The 'equal to' comparisons in the `ViewPort.ValidateViewX()` and `ViewPort.ValidateViewY()` methods are not required as the `ViewPort`s corresponding `view` attributes will be set equal to the right operand if the conditional resolves as true. The current behaviour results in the `view` attributes being set unnecessarily if it already equals the limit.
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.

Allow pasting when using views/app.go
1 participant