BillyDM / egui-baseview

A baseview backend for the egui Rust GUI library
MIT License
22 stars 17 forks source link

update baseview, setup scrollwheel similarly to winit backend #2

Closed DGriffin91 closed 2 years ago

DGriffin91 commented 2 years ago

This updates baseview to enable using the scrollwheel in windows. I also updated the scrolling event to work more similarly to how it does on the winit backend: https://github.com/emilk/egui/blob/88d087b4626f3197802ff198b6276ba668846681/egui-winit/src/lib.rs#L376

I tested the result in a multi line text box on windows and the scrolling seems appropriate.

BillyDM commented 2 years ago

Ah sorry, forgot about this. I'll merge it now!