Commit graph

22 commits

Author SHA1 Message Date
Vukašin Vojinović
18d76659f2 fix(progress_bar): prevent large animation time delta 2026-07-01 10:40:30 -04:00
Vukašin Vojinović
13fb598517
chore(progress_bar): simplify linear code 2026-06-26 17:25:28 +02:00
Vukašin Vojinović
76bc13ff40
feat(progress_bar): improve determinate animations
Switches to using a critically damped spring animation, which prevents issues with rapid progress updates, and is generally smoother.
2026-06-23 18:30:28 +02:00
Aadil127
a991d7bb43 Fix: Removed unnecessary quad draw calls. 2026-06-15 10:47:14 -04:00
Aadil127
4d36a2ee5f Fix: progress bar overflow on low progress phase. 2026-06-15 10:47:14 -04:00
Aadil127
80b370d230 Fix bug in progress bar. 2026-06-10 23:35:29 +05:30
Aadil127
904b7b95b1 Fix progress bar containing some width now does not overflow. 2026-06-10 22:56:56 +05:30
Aadil127
9b8c48a328 Fix progress bar now has flat egde. 2026-06-10 19:38:46 +05:30
Aadil127
dc4e89596a Fix progress says consistant for different girth values. 2026-06-09 16:10:46 +05:30
Aadil127
87901c2d48 Fix progress bar showing incorrectly with small width. 2026-06-09 14:17:36 +05:30
Vukašin Vojinović
c9255fe871
feat(progress_bar): draw circular line caps directly & fix gaps between the bar and caps 2026-05-29 17:43:55 +02:00
Vukašin Vojinović
04a93d304c chore(linear): cleanup 2026-05-29 00:07:19 +02:00
Hojjat
b279d82240 fix: circular progressbar crashes on very small windows 2026-05-20 07:25:00 -04:00
Vukašin Vojinović
466e25d9f8 feat(progress_bar): linear progress markers 2026-05-19 20:00:14 +02:00
Vukašin Vojinović
9c2a86a8f4 chore: add rustfmt config 2026-05-04 11:55:17 -04:00
Vukašin Vojinović
dad5f1e273 fix(progress_bar): sync determinate animation clock on target change
This prevents the time delta from becoming very large when the widget hasn't animated for a bit, leading to snapping instead of a smooth animation.
Also prevents animating on widget creation, since it doesn't feel good in `cosmic-osd`.
2026-04-22 15:03:14 +02:00
Vukašin Vojinović
8b4c8adec8 feat(progress_bar): animate determinate progress 2026-04-21 13:39:43 -04:00
Vukašin Vojinović
4d39cf3d7b improv(progress_bar): unify indeterminate animations 2026-04-21 13:39:43 -04:00
Vukašin Vojinović
95756b1a57 improv(circular): prevent caps from touching
Some checks failed
Continuous Integration / format (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "applet") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "desktop,smol") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "desktop,tokio") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "wayland") (push) Has been cancelled
Pages / pages (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "winit") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "winit_debug") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "winit_tokio") (push) Has been cancelled
Continuous Integration / tests (--no-default-features --features "winit_wgpu") (push) Has been cancelled
Continuous Integration / tests (-p cosmic-theme) (push) Has been cancelled
Continuous Integration / examples (application) (push) Has been cancelled
Continuous Integration / examples (context-menu) (push) Has been cancelled
Continuous Integration / examples (nav-context) (push) Has been cancelled
Continuous Integration / examples (open-dialog) (push) Has been cancelled
2026-04-18 16:08:34 -04:00
Ashley Wulber
47ab72be50
fix!(progress_bar): remove unused generic Message type 2026-04-08 07:38:18 +02:00
Ashley Wulber
d9121d6f0d refactor: better helpers for the progress_bar 2026-04-07 21:47:46 +02:00
Ashley Wulber
b963fbfea9
feat(widget): progress bars 2026-04-07 17:02:58 +02:00