зеркало из https://github.com/mozilla/gecko-dev.git
remove code hyatt put in a long time ago that sets the mouse coordinates
to 0,0 for scrollwheel events. Now uses the actual coordinate (r=pink, sr=bryner, bug 256538)
This commit is contained in:
Родитель
5eb2df45d5
Коммит
0f89e777e9
|
@ -2782,10 +2782,6 @@ const PRInt32 kNumLines = 4;
|
|||
outGeckoEvent->refPoint.x = outGeckoEvent->point.x = NS_STATIC_CAST(nscoord, localPoint.x);
|
||||
outGeckoEvent->refPoint.y = outGeckoEvent->point.y = NS_STATIC_CAST(nscoord, localPoint.y);
|
||||
|
||||
if (outGeckoEvent->message == NS_MOUSE_SCROLL) {
|
||||
outGeckoEvent->refPoint.x = outGeckoEvent->refPoint.y = 0;
|
||||
outGeckoEvent->point.x = outGeckoEvent->point.y = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// set up modifier keys
|
||||
|
|
Загрузка…
Ссылка в новой задаче