mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-05 09:01:39 -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;
|
return 1;
|
||||||
case FL_ENTER:
|
case FL_ENTER:
|
||||||
return 1;
|
return 1;
|
||||||
|
case FL_MOUSEWHEEL:
|
||||||
|
//printf("no scroll on faders\n");
|
||||||
|
return 1;
|
||||||
case FL_RELEASE:
|
case FL_RELEASE:
|
||||||
if (highlight) {
|
if (highlight) {
|
||||||
highlight = 0;
|
highlight = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue