Add outline/border to the brush tool #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a border around the cursor when using the brush tool.
This is helpful to visualize where the brush is positioned relative to the grid underneath, especially when the brush size is larger than 1 or when working in half block mode.
The border is displayed in all modes including half block, custom block, and shading. In custom block mode, the character is also displayed underneath the cursor.
I didn't make this a setting because I couldn't think of any reasons where I wouldn't want to have this turned on. But I'm open to feedback on this because I don't know how everyone else is using the brush tool.
Screen.Recording.2025-02-04.at.4.11.29.PM.webm