input: rename axix_smooth to axis_px
This commit is contained in:
parent
64416d417b
commit
20f0fba553
7 changed files with 18 additions and 21 deletions
|
|
@ -318,9 +318,9 @@ impl TestBackendMouse {
|
|||
|
||||
pub fn scroll_px(&self, dy: i32) {
|
||||
self.common.event(InputEvent::AxisSource {
|
||||
source: AxisSource::Wheel,
|
||||
source: AxisSource::Finger,
|
||||
});
|
||||
self.common.event(InputEvent::AxisSmooth {
|
||||
self.common.event(InputEvent::AxisPx {
|
||||
dist: Fixed::from_int(dy),
|
||||
axis: ScrollAxis::Vertical,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue