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
Regarding the first point, I see two points of possible improvement:
The "progress bar" element of all three of the progress button, the hover zone, and the timer component is currently made with a gradient background with a hard step between the main color (hardcoded at the moment) and the transparent background. This means that the true background before the progress bar fills can only be transparent for now and that the progress bar itself can only be a solid color or linear gradient in the same direction as the filling. Something like a stacked div with varying width may be better suited for our need.
That code sits entirely in the javascript code, and the length of the bar is determined only by the current value and the target value. The advantage of this is that the model and view are totally linked, but the drawback is that we don't take advantage of the smooth interpolations that css animations would allow. At the moment it isn't the main issue as we can't animate the position of a gradient step, but with a varying-width div it may be interesting.
The text was updated successfully, but these errors were encountered: