Capturing mousewheel events on Widgets v1-dev

Hi all, complete newbie here but am having lots of fun with NanoVG and events.

I’m trying to capture the mouse wheel using onHoverScroll, which I’ve found in use on the UI Scrollwidget, but it appears to be ignored when used in my plugin Widget (based onTemplate) - this is the basic testing code, where I was expecting the scroll event to stop at widget and not scroll the window:

virtual void onHoverScroll(const event::HoverScroll &e) override {
	amount = e.scrollDelta.y;
	e.consume(this);
}

is it currently possible to consume mousewheel in this way?

Ahaaa! It does work, my v1 wasn’t quite up to date


now I just need to figure out what to do with these ± multiples of 50!