Add system scroll-acceleration property

This commit is contained in:
Jack Andersen
2015-12-31 14:15:34 -10:00
parent ce9d877cfa
commit 9c17350524
2 changed files with 2 additions and 1 deletions

View File

@@ -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];