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:
parent
dd03d5117b
commit
add40c39f8
4 changed files with 182 additions and 78 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue