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

Cleaner mode picking UI #84

Merged
merged 4 commits into from May 31, 2019
Merged

Cleaner mode picking UI #84

merged 4 commits into from May 31, 2019

Conversation

MatthewBeaudouinLafon
Copy link
Collaborator

Current canvas mode is highlighted (reverse video) in mode picker.
Use TAB and Shift TAB to cycle through modes in mode picker. ENTER to commit to a mode.

return ((mode - mode_first) + n) % (mode_list_end - mode_first) + mode_first;
}

Mode_ID next_canvas_mode(Mode_ID mode) { return add_mod_canvas_mode(mode, 1); }
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter makes this look dumb with the one below, but not worth changing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked into this a little more, the option is AllowShortFunctionsOnASingleLine. I'll make another pull request to change it.

@newsch
Copy link
Member

newsch commented May 30, 2019

This looks pretty slick! Is there anything else you're thinking of doing here?

@MatthewBeaudouinLafon
Copy link
Collaborator Author

This looks pretty slick! Is there anything else you're thinking of doing here?

Nope, that about covers it. If I think of anything else, I'll make a different pull request.

@newsch newsch merged commit 6fd1518 into master May 31, 2019
@newsch newsch deleted the matt/cleaner-UI branch December 23, 2019 01:32
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.

None yet

2 participants