From 11b643ce2773d5868c9886e4474839d884390b77 Mon Sep 17 00:00:00 2001 From: Access Date: Tue, 22 Oct 2024 19:24:14 +0900 Subject: [PATCH] fix: scroll problem (#80) --- iced_layershell/src/event.rs | 2 +- iced_sessionlock/src/event.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iced_layershell/src/event.rs b/iced_layershell/src/event.rs index 789c010..6367802 100644 --- a/iced_layershell/src/event.rs +++ b/iced_layershell/src/event.rs @@ -227,7 +227,7 @@ impl From<&DispatchMessage> for IcedLayerEvent From<&DispatchMessage> for IcedSessionLockEvent y: -vertical.discrete as f32, }); } - IcedSessionLockEvent::Window(WindowEvent::Axis { + IcedSessionLockEvent::Window(WindowEvent::PixelDelta { x: -horizontal.absolute as f32, y: -vertical.absolute as f32, })