Bugzilla – Attachment 139219 Details for
Bug 109062
Scrolling with touchpad or scrollwheel is not working on Mac
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch proposal
Proposal.txt (text/plain), 868 bytes, created by
Telesto
on 2018-01-19 17:04:17 UTC
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Telesto
Created:
2018-01-19 17:04:17 UTC
Size:
868 bytes
patch
obsolete
>@@ -933,7 +933,7 @@ -(void)scrollWheel: (NSEvent*)pEvent > if( aEvent.mnDelta == 0 ) > aEvent.mnDelta = aEvent.mnNotchDelta; > aEvent.mbHorz = TRUE; >- aEvent.mnScrollLines = fabs(dX) / WHEEL_EVENT_FACTOR; >+ aEvent.mnScrollLines = std::abs(aEvent.mnDelta) / WHEEL_EVENT_FACTOR; > if( aEvent.mnScrollLines == 0 ) > aEvent.mnScrollLines = 1; > >@@ -946,7 +946,7 @@ -(void)scrollWheel: (NSEvent*)pEvent > if( aEvent.mnDelta == 0 ) > aEvent.mnDelta = aEvent.mnNotchDelta; > aEvent.mbHorz = FALSE; >- aEvent.mnScrollLines = fabs(dY) / WHEEL_EVENT_FACTOR; >+ aEvent.mnScrollLines = std::abs(aEvent.mnDelta) / WHEEL_EVENT_FACTOR; > if( aEvent.mnScrollLines == 0 ) > aEvent.mnScrollLines = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 109062
:
136878
| 139219