image: Add zoom and scrolling support
Zoom via - Scroll event controller - Zoom gesture - Overlay buttons - Fixed zoom level shortcuts (1=100%, 2=200%) Scrolling via - Scrolled window - Drag gesture Changes - Implement best-fit via calculating a zoom level - Gesture for carousel no longer working because of scrolled window - Split control overlays into two to not steal inputs in area between Closes #17
This commit is contained in:
parent
73a1702c47
commit
029c0c9244
9 changed files with 952 additions and 155 deletions
|
|
@ -23,7 +23,7 @@ features = ["gtk4"]
|
|||
[dependencies.gtk]
|
||||
package = "gtk4"
|
||||
version = "0.5.1"
|
||||
features = ["v4_6"]
|
||||
features = ["v4_8"]
|
||||
|
||||
[dependencies.gio]
|
||||
package = "gio"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue