From fcaf5ae40f87f4ad90bcf2ca243285e88c797b61 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 20 Aug 2019 09:02:45 -0400 Subject: [PATCH] Fix taskbar auto scroll on appicon drag --- taskbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taskbar.js b/taskbar.js index 0d0d868..893d76e 100644 --- a/taskbar.js +++ b/taskbar.js @@ -964,9 +964,9 @@ var taskbar = Utils.defineClass({ // Ensure the next and previous icon are visible when moving the icon // (I assume there's room for both of them) if (hoveredIndex > 1) - ensureActorVisibleInScrollView(this._scrollView, this._box.get_children()[hoveredIndex-1], this._scrollView._dtpFadeSize); + Utils.ensureActorVisibleInScrollView(this._scrollView, this._box.get_children()[hoveredIndex-1], this._scrollView._dtpFadeSize); if (hoveredIndex < this._box.get_children().length-1) - ensureActorVisibleInScrollView(this._scrollView, this._box.get_children()[hoveredIndex+1], this._scrollView._dtpFadeSize); + Utils.ensureActorVisibleInScrollView(this._scrollView, this._box.get_children()[hoveredIndex+1], this._scrollView._dtpFadeSize); } }