window: Don't animate mouse fwd/back button
The forward and back buttons often found on the side of mice are binary inputs in the same way keyboard keys are. After the change in !373 where key presses where made instantaneous the mouse buttons have been inconsistent. This change rectifies that. Fixes #340
This commit is contained in:
parent
7723eda687
commit
a89279d556
1 changed files with 2 additions and 2 deletions
|
|
@ -304,11 +304,11 @@ mod imp {
|
|||
|
||||
self.forward_click_gesture
|
||||
.connect_pressed(clone!(@weak obj => move |_,_,_,_| {
|
||||
obj.image_view().navigate(Direction::Forward, true);
|
||||
obj.image_view().navigate(Direction::Forward, false);
|
||||
}));
|
||||
self.backward_click_gesture
|
||||
.connect_pressed(clone!(@weak obj => move |_,_,_,_| {
|
||||
obj.image_view().navigate(Direction::Back, true);
|
||||
obj.image_view().navigate(Direction::Back, false);
|
||||
}));
|
||||
self.properties_button
|
||||
.connect_toggled(clone!(@weak obj => move |_| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue