mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 08:27:59 +01:00
Fix completion scrolling issue.
This commit is contained in:
@@ -2075,6 +2075,9 @@ var ItemList = Class("ItemList", {
|
|||||||
.map(function (g) g.rescrollFunc)
|
.map(function (g) g.rescrollFunc)
|
||||||
.forEach(call);
|
.forEach(call);
|
||||||
|
|
||||||
|
if (!this.selected)
|
||||||
|
this.win.scrollTo(0, 0);
|
||||||
|
|
||||||
this._resize.tell(ItemList.RESIZE_BRIEF);
|
this._resize.tell(ItemList.RESIZE_BRIEF);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user