No description
Find a file
leyoda 28010fd260
Some checks failed
Continuous Integration / formatting (push) Has been cancelled
Continuous Integration / linting (push) Has been cancelled
yoda: smooth animated fisheye for dock hover (phase B v3, closes b)
Inter-icon hover changes were snapping because icon_scale_for read the
hovered icon's real rectangle directly. This adds a small animation
layer so the bell center lerps toward the target and the whole effect
fades in/out at the dock's edges.

CosmicAppList gains three fields:
- anim_hover_center: Option<(f32, f32)> — virtual cursor position,
  chases the hovered icon's center across ticks.
- anim_hover_intensity: f32 (0..1) — global fade-in/out of the
  fisheye. Target 1.0 while a dock icon is hovered, 0.0 otherwise.
- anim_last_tick: Option<Instant> — for dt-based exponential smoothing
  (time-constant tau = 60ms, ~99% of target reached in ~120ms).

A new Message::AnimTick(Instant) is emitted at ~60 fps by a
conditional iced::time::every subscription — only active when the
pointer is over a dock icon OR intensity hasn't faded back to ~0 yet,
so the panel stays idle when no one is hovering the dock.

icon_scale_for now reads anim_hover_center instead of rectangles[hovered]
and multiplies the bell's peak by anim_hover_intensity. Behaviour:
- Pointer slides A → B: bell glides continuously, both icons animate.
- Pointer enters dock: icons inflate smoothly over ~120 ms.
- Pointer leaves dock: icons deflate smoothly over ~120 ms.

Fallback paths (first frame, missing rectangles) still respond
instantly so the feature never looks 'stuck' before the animation
kicks in.
2026-04-24 14:15:43 +02:00
.github Add pull request template 2026-02-13 12:35:27 -07:00
cosmic-app-list yoda: smooth animated fisheye for dock hover (phase B v3, closes b) 2026-04-24 14:15:43 +02:00
cosmic-applet-a11y i18n: translation updates from weblate 2026-04-12 18:50:17 +02:00
cosmic-applet-audio update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-battery update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-bluetooth update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-input-sources update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-minimize update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-network wip: update libcosmic 2026-04-16 15:27:25 -06:00
cosmic-applet-notifications update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-power i18n: translation updates from weblate 2026-04-12 18:50:17 +02:00
cosmic-applet-status-area update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-tiling update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-time update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applet-workspaces update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-applets i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-applets-config feat(battery): add option to show charge percentage next to the icon (#994) 2026-02-02 14:47:38 -07:00
cosmic-panel-app-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-panel-button update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
cosmic-panel-launcher-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-panel-workspaces-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
data i18n(bg): update desktop info 2025-11-09 11:27:31 +01:00
debian chore: update dependencies and debian changelog 2026-01-13 15:33:04 -05:00
i18n i18n: translation updates from weblate 2026-04-12 18:50:17 +02:00
.gitignore status-area: Seperate daemon for status notifier daemon 2026-02-02 10:36:16 -08:00
Cargo.lock update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00
Cargo.toml chore: updates after iced-rebase 2026-03-31 22:34:59 +02:00
flake.lock feat: updated flake.nix and fixed error due to crane api change 2025-05-20 17:01:17 +02:00
flake.nix chore: bump versions to 1.0.0 2025-12-30 08:34:00 +01:00
justfile fix(justfile): wrong path to localized desktop entries 2026-03-18 11:12:40 -04:00
LICENSE license 2022-05-26 11:59:09 -04:00
rust-toolchain.toml applet overlap 2025-11-11 16:49:48 -05:00