mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 13:37:48 +00:00
Add system scroll-acceleration property
This commit is contained in:
@@ -819,7 +819,7 @@ static inline boo::EMouseButton getButton(NSEvent* event)
|
||||
boo::SScrollDelta scroll =
|
||||
{
|
||||
{(float)[theEvent scrollingDeltaX], (float)[theEvent scrollingDeltaY]},
|
||||
(bool)[theEvent hasPreciseScrollingDeltas]
|
||||
(bool)[theEvent hasPreciseScrollingDeltas], true
|
||||
};
|
||||
booContext->m_callback->scroll(coord, scroll);
|
||||
[textContext handleEvent:theEvent];
|
||||
|
||||
Reference in New Issue
Block a user