Feat: add secondary color support and editor UX improvements#686
Open
leandrolopesp wants to merge 2 commits into
Open
Feat: add secondary color support and editor UX improvements#686leandrolopesp wants to merge 2 commits into
leandrolopesp wants to merge 2 commits into
Conversation
Palette:
- Select Secondary Color by:
- Right-click
- Ctrl + [1-8] or Ctrl + Shift + [1-8]
- Drawing with Pencil, Rectangle, Circle, or Bucket using right-click applies the Secondary Color.
Selection Tool:
- Use Ctrl + Arrow keys to move the selection in the image editor.
- "Delete" deletes current selection and replaces it with the Secondary Color
- Movement leaves the Secondary Color behind.
Image Viewer:
- Enabled mouse scroll (Y axis)
- Fixed right-click drag bug
- Changed selection from square to corner markers
- Added __on_viewport_y_set and __on_viewport_x_set handlers to clamp values
Press Page Up/Down to change the image
Mouse wheel: - Middle button click: pick primary color. Ctrl + middle click: pick secondary color. - Middle button drag: navigate in image and canvas selectors. - Mouse wheel scroll: change selected tool when pointing to canvas. Navigation keys: - Home/End: select the first/last sprite in the same row. - Ctrl + Home/End: select the first/last sprite in the sprite sheet. - Pg Up/Down: scroll by 8 sprites. - Ctrl + Pg Up/Down: select image index.
Author
|
New UX Improvements (mouse wheel/navigation keys) Mouse wheel:
Navigation keys
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Palette:
- Select Secondary Color by:
- Right-click
- Ctrl + [1-8] or Ctrl + Shift + [1-8]
- Drawing with Pencil, Rectangle, Circle, or Bucket using right-click applies the Secondary Color.
Selection Tool:
- Use Ctrl + Arrow keys to move the selection in the image editor.
- "Delete" key deletes current selection and replaces it with the Secondary Color
- Movement leaves the Secondary Color behind.
Image Viewer:
- Enabled mouse scroll (Y axis)
- Fixed right-click drag bug
- Changed selection from square to corner markers (Fixes #659)
- Added __on_viewport_y_set and __on_viewport_x_set handlers to clamp values (Fixes the right click drag bug)
Press Page Up/Down to change the image