зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1253041 - Don't apply user wheel prefs more than once. r=smaug
This causes the preferences to be applied twice for events that are sent to the child process
This commit is contained in:
Родитель
a3239fa787
Коммит
bdab462e56
|
@ -5624,6 +5624,10 @@ EventStateManager::WheelPrefs::Init(EventStateManager::WheelPrefs::Index aIndex)
|
|||
void
|
||||
EventStateManager::WheelPrefs::ApplyUserPrefsToDelta(WidgetWheelEvent* aEvent)
|
||||
{
|
||||
if (aEvent->customizedByUserPrefs) {
|
||||
return;
|
||||
}
|
||||
|
||||
Index index = GetIndexFor(aEvent);
|
||||
Init(index);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче