-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat: add slider widget with horizontal and vertical support #853
base: main
Are you sure you want to change the base?
Conversation
- Implement Slider widget with customizable colors, step size, and radii - Add horizontal and vertical axis support with proper coordinate handling - Include hover effects and accessibility features - Add comprehensive tests for interaction and rendering - Integrate slider into widget gallery example with direction switching - Add documentation and example usage - Fix edge cases for min/max values and step adjustments
|
||
#[must_use] | ||
/// Set the callback for editing state changes. | ||
pub fn on_editing_changed( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping to see some use case for this.
Also "editing state changes" is extremely vague terminology.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not reviewed this code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All that I have time for right now…
- Move slider-related constants from Slider impl to theme module - Change color fields from Color to Brush type for better flexibility - Rename color-related methods to thumb_color for clarity - Remove macro-based property handling in favor of explicit updates
There is still an issue where my tests are not outputting images for some reason. Can anyone help me with this?