mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:07:58 +01:00
Stop flashing when the completion list opens.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user