mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-04 20:55:47 +01:00
* Fixed strange completion height bug. One less blocker to 2.0beta1.
* Doug: Might ui.js:701: elements[elements.length - 1].scrollIntoView(true); be the problem of your very slow MOW for multiple items? I just noticed that :echo liberator takes 0.25sec , but :echo liberator when the MOW already displas :echo window takes 0.47 sec
This commit is contained in:
@@ -1758,7 +1758,7 @@ function ItemList(id) //{{{
|
|||||||
</div>
|
</div>
|
||||||
</div>, divNodes);
|
</div>, divNodes);
|
||||||
doc.body.replaceChild(div, doc.body.firstChild);
|
doc.body.replaceChild(div, doc.body.firstChild);
|
||||||
div.scrollIntoView(true);
|
//div.scrollIntoView(true);
|
||||||
|
|
||||||
items.contextList.forEach(function init_eachContext(context) {
|
items.contextList.forEach(function init_eachContext(context) {
|
||||||
delete context.cache.nodes;
|
delete context.cache.nodes;
|
||||||
@@ -1941,7 +1941,7 @@ function ItemList(id) //{{{
|
|||||||
if (index >= 0)
|
if (index >= 0)
|
||||||
{
|
{
|
||||||
getCompletion(index).setAttribute("selected", "true");
|
getCompletion(index).setAttribute("selected", "true");
|
||||||
getCompletion(index).scrollIntoView(false);
|
//getCompletion(index).scrollIntoView(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//if (index == 0)
|
//if (index == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user