lychee-core: use ImageCanvas for visual pan/zoom; fix panning delta calculation

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8ac7479803ab70149d6ffadf897ef33d6a6a6964
This commit is contained in:
raf 2026-04-19 23:09:48 +03:00
commit add40c39f8
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 182 additions and 78 deletions

View file

@ -8,12 +8,14 @@ edition = "2024"
[workspace.dependencies]
clap = { version = "4.6.0", features = ["derive"] }
iced = { version = "0.14.0", features = ["image", "wayland", "smol"] }
iced = { version = "0.14.0", features = ["image", "wayland", "smol", "canvas"] }
iced_graphics = "0.14.0"
image = "0.25.10"
lychee-cli = { path = "./crates/lychee-cli" }
lychee-img = { path = "./crates/lychee-img" }
lychee-core = { path = "./crates/lychee-core" }
lychee-widgets = { path = "./crates/lychee-widgets" }
[profile.release]
lto = true