mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
volume: fix mousewheel handling
Mouse scroll events are now consumed by vol faders, and hence not passed on to the next widget.
This commit is contained in:
parent
4e154b1d11
commit
02fb669470
1 changed files with 3 additions and 0 deletions
|
@ -214,6 +214,9 @@ int Volume::handle(int event)
|
|||
return 1;
|
||||
case FL_ENTER:
|
||||
return 1;
|
||||
case FL_MOUSEWHEEL:
|
||||
//printf("no scroll on faders\n");
|
||||
return 1;
|
||||
case FL_RELEASE:
|
||||
if (highlight) {
|
||||
highlight = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue