зеркало из https://github.com/mozilla/pjs.git
add the "immediate" flag to the UpdateView() call in ForceDrawFrame() so that drop feedback always draws on macOS.
This commit is contained in:
Родитель
08e0f63ff8
Коммит
0b39a5629f
|
@ -133,7 +133,7 @@ static void ForceDrawFrame(nsIFrame * aFrame)
|
||||||
nsCOMPtr<nsIViewManager> viewMgr;
|
nsCOMPtr<nsIViewManager> viewMgr;
|
||||||
view->GetViewManager(*getter_AddRefs(viewMgr));
|
view->GetViewManager(*getter_AddRefs(viewMgr));
|
||||||
if (viewMgr)
|
if (viewMgr)
|
||||||
viewMgr->UpdateView(view, rect, NS_VMREFRESH_AUTO_DOUBLE_BUFFER);
|
viewMgr->UpdateView(view, rect, NS_VMREFRESH_AUTO_DOUBLE_BUFFER | NS_VMREFRESH_IMMEDIATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче