Skip to content

Conversation

@newsch
Copy link
Member

@newsch newsch commented Feb 29, 2020

I started playing around with rr and used that as an excuse to work on this.

Closes #66

While `cursor_key_to_move` checks for view bounds, brush mode did not
when setting the cursor from mouse events. This adds `isin` functions to
`view` and `cursor` that check if points are inside a view.
@newsch newsch force-pushed the brushmode-mouse-segfault branch from 8a4622a to 22493cc Compare February 29, 2020 14:19
@newsch newsch merged commit a5d4f34 into master Feb 29, 2020
@newsch newsch deleted the brushmode-mouse-segfault branch August 29, 2020 00:20
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.

Mouse in brush mode can overwrite border boundaries and segfault

2 participants