Step 3 complete: Replace custom image_viewer (559 lines) with standard widgets (~120 lines)
This commit is contained in:
parent
387afdf4f2
commit
5d729c7495
5 changed files with 96 additions and 634 deletions
|
|
@ -28,13 +28,6 @@ pub enum AppMessage {
|
|||
ZoomOut,
|
||||
ZoomReset,
|
||||
ZoomFit,
|
||||
ViewerStateChanged {
|
||||
scale: f32,
|
||||
offset_x: f32,
|
||||
offset_y: f32,
|
||||
canvas_size: cosmic::iced::Size,
|
||||
image_size: cosmic::iced::Size,
|
||||
},
|
||||
|
||||
// Pan control.
|
||||
PanLeft,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue