updating this comment: In viewer.rs line 172, your match is with either lines or pixels so you return lines regardless. So maybe you should separate this out or just do lines??
[X] My issue is indeed a bug!
[X] I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
Is there an existing issue for this?
[X] I have searched the existing issues.
Is this issue related to iced?
[X] My hardware is compatible and my graphics drivers are up-to-date.
What happened?
While trying to incorporate the mouse ScrollDelta::Pixels into icedpygui, previously only used the ScrollDelta::Lines, I have determined that it does not fired the Pixels, only the Lines. I ran the event example and since it displays all of the events, Pixels is missing. I used the example in the master and the example in the latest repos.
What is the expected behavior?
the event ScrollDelta::Pixels is fired.
Version
master
Operating System
Linux
Do you have any log output?
Here's a print out of part of the output of the event example.
Keyboard(ModifiersChanged(Modifiers(0x0)))
Keyboard(ModifiersChanged(Modifiers(0x0)))
Mouse(CursorMoved { position: Point { x: 526.7842, y: 579.4448 } })
Mouse(WheelScrolled { delta: Lines { x: 0.0, y: -1.0 } }) <---------only Lines
Keyboard(ModifiersChanged(Modifiers(0x0)))
Keyboard(ModifiersChanged(Modifiers(0x0)))
Mouse(CursorMoved { position: Point { x: 526
Is your issue REALLY a bug?
updating this comment: In viewer.rs line 172, your match is with either lines or pixels so you return lines regardless. So maybe you should separate this out or just do lines??
Is there an existing issue for this?
Is this issue related to iced?
What happened?
While trying to incorporate the mouse ScrollDelta::Pixels into icedpygui, previously only used the ScrollDelta::Lines, I have determined that it does not fired the Pixels, only the Lines. I ran the event example and since it displays all of the events, Pixels is missing. I used the example in the master and the example in the latest repos.
What is the expected behavior?
the event ScrollDelta::Pixels is fired.
Version
master
Operating System
Linux
Do you have any log output?