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

Improve the Select tool's input hints #1667

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

milan-sedivy
Copy link
Contributor

Previously SelectTool had the same KeyHints no matter what state, this was caused by the fact that it was done in a hackish way by using fn standard_tool_messages instead of fn update_hints. This PR addresses this by a small change to the code and allows to differentiate between states.

out

@milan-sedivy milan-sedivy marked this pull request as draft March 10, 2024 22:00
@milan-sedivy milan-sedivy marked this pull request as ready for review March 10, 2024 22:34
@Keavon Keavon changed the title Refactor hints in SelectTool Improve the Select tool's input hints Mar 11, 2024
@Keavon
Copy link
Member

Keavon commented Mar 11, 2024

!build

Copy link

📦 Build Complete for 25d74ef
https://cf053f65.graphite.pages.dev

@Keavon
Copy link
Member

Keavon commented Mar 11, 2024

!build

Copy link

📦 Build Complete for 8e85f67
https://1cf258a1.graphite.pages.dev

Copy link
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

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

Feel free to read my diff if you'd like to pick up on a few Rust code idiomatic-ness tips.

@Keavon Keavon merged commit 343523a into GraphiteEditor:master Mar 11, 2024
2 checks passed
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