revert self.update_zoom to update with wheel
This commit is contained in:
parent
92fcceba54
commit
657f0aeddf
1 changed files with 1 additions and 1 deletions
|
|
@ -926,7 +926,7 @@ impl State {
|
||||||
}
|
}
|
||||||
|
|
||||||
let change = -(percentage / 100.);
|
let change = -(percentage / 100.);
|
||||||
self.update_zoom(&seat, change, false);
|
self.update_zoom(&seat, change, event.source() == AxisSource::Wheel);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let mut frame = AxisFrame::new(event.time_msec()).source(event.source());
|
let mut frame = AxisFrame::new(event.time_msec()).source(event.source());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue