1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 19:42:26 +01:00

Force redraw after scrolling until someone finds a better way to fix glitchiness.

--HG--
extra : rebase_source : cee0b4d704a2ac677f29ae16626547c14b813af2
This commit is contained in:
Kris Maglione
2011-07-13 16:08:24 -04:00
parent 5a597f9e79
commit 4da3b41d4c

View File

@@ -1220,6 +1220,11 @@ var Buffer = Module("buffer", {
elem.scrollLeft = left; elem.scrollLeft = left;
if (top != null) if (top != null)
elem.scrollTop = top; elem.scrollTop = top;
if (util.haveGecko("4.0") && !util.haveGecko("8.0"))
elem.ownerDocument.defaultView
.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIDOMWindowUtils)
.redraw();
}, },
/** /**