1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:17:58 +01:00

Stop flashing when the completion list opens.

This commit is contained in:
Kris Maglione
2010-10-14 20:04:32 -04:00
parent 2ef89cb8bf
commit 2a995fd232

View File

@@ -1932,8 +1932,10 @@ const ItemList = Class("ItemList", {
setItems: function setItems(newItems, selectedItem) {
if (this._selItem > -1)
this._getCompletion(this._selItem).removeAttribute("selected");
if (this._container.collapsed)
if (this._container.collapsed) {
this._minHeight = 0;
this._container.height = 0;
}
this._startIndex = this._endIndex = this._selIndex = -1;
this._items = newItems;
this.reset(true);