Rename starting_cursor_pos to cursor_grabbed_at in image::Viewer
This commit is contained in:
parent
8245a11766
commit
43ef85ae5c
2 changed files with 11 additions and 12 deletions
|
|
@ -39,7 +39,7 @@ where
|
|||
}
|
||||
},
|
||||
{
|
||||
if state.is_cursor_clicked() {
|
||||
if state.is_cursor_grabbed() {
|
||||
mouse::Interaction::Grabbing
|
||||
} else if is_mouse_over
|
||||
&& (image_size.width > bounds.width
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue