mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-30 07:35:59 +00:00
merge
This commit is contained in:
commit
ebd5b8481b
1 changed files with 5 additions and 3 deletions
|
@ -920,9 +920,11 @@ void submitEvents(NLMISC::CEventServer& server,
|
||||||
/*
|
/*
|
||||||
TODO modifiers with mouse events
|
TODO modifiers with mouse events
|
||||||
*/
|
*/
|
||||||
|
if(fabs(event.deltaY) > 0.1)
|
||||||
server.postEvent(new NLMISC::CEventMouseWheel(
|
server.postEvent(new NLMISC::CEventMouseWheel(
|
||||||
mouseX, mouseY, (NLMISC::TMouseButton)0 /* modifiers */,
|
mouseX, mouseY, (NLMISC::TMouseButton)0 /* modifiers */,
|
||||||
(event.deltaY > 0), eventEmitter));
|
(event.deltaY > 0), eventEmitter));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case NSTabletPoint:break;
|
case NSTabletPoint:break;
|
||||||
|
|
Loading…
Reference in a new issue