You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues #13 and #15 affected where the thumb is drawn when at the start or end of the bar.
Currently the center of the thumb goes all the way to the ends of the bar. That means the thumb radius will draw outside of the widget area.
However, between #13 and #15 the thumb radius was aligned with the bar like so:
I like that look because it lines up well with vertical labels. The disadvantage is that the thumb will not start moving until the current time passes the center of the thumb. Also it will stop moving one radius-width before the end of the song. Usually this is only a few seconds, though, and for me I don't mind that.
So I'm thinking of adding an option to select where the thumb will align. I'll keep centered as the default since that is what it is now, but are there good API naming suggestions?
Perhaps this:
thumbAlign:ThumbAlignment.edge,
enumThumbAlignment {
center,
edge,
}
The text was updated successfully, but these errors were encountered:
I like the idea of having an option for this. For me personally, I prefer the current implementation (great when time labels are on sides), but some may not, so this is good observation.
Regarding API naming, the one you suggested seems fine to me.
Issues #13 and #15 affected where the thumb is drawn when at the start or end of the bar.
Currently the center of the thumb goes all the way to the ends of the bar. That means the thumb radius will draw outside of the widget area.
However, between #13 and #15 the thumb radius was aligned with the bar like so:
I like that look because it lines up well with vertical labels. The disadvantage is that the thumb will not start moving until the current time passes the center of the thumb. Also it will stop moving one radius-width before the end of the song. Usually this is only a few seconds, though, and for me I don't mind that.
So I'm thinking of adding an option to select where the thumb will align. I'll keep centered as the default since that is what it is now, but are there good API naming suggestions?
Perhaps this:
The text was updated successfully, but these errors were encountered: