Other: Handle ESLint complaints

This commit is contained in:
June 2023-01-24 19:33:11 +01:00
commit dc7ad73db4
No known key found for this signature in database
GPG key ID: 094C2AC34192FA11
4 changed files with 9 additions and 8 deletions

View file

@ -8,11 +8,12 @@ const Adw = imports.gi.Adw;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const PrefsBoxOrderListBox = Me.imports.prefsModules.PrefsBoxOrderListBox;
const PrefsBoxOrderListEmptyPlaceholder = Me.imports.prefsModules.PrefsBoxOrderListEmptyPlaceholder;
const PrefsBoxOrderItemRow = Me.imports.prefsModules.PrefsBoxOrderItemRow;
const ScrollManager = Me.imports.prefsModules.ScrollManager;
// Imports to make UI file work.
/* exported PrefsBoxOrderListBox */
const PrefsBoxOrderListBox = Me.imports.prefsModules.PrefsBoxOrderListBox;
var PrefsPage = GObject.registerClass({
GTypeName: "PrefsPage",
Template: Me.dir.get_child("ui").get_child("prefs-page.ui").get_uri()
@ -56,7 +57,7 @@ var PrefsPage = GObject.registerClass({
const stopScrollAllAtDNDEnd = () => {
this._scrollManager.stopScrollAll();
this._dndEnded = true;
}
};
controller.connect("leave", () => {
stopScrollAllAtDNDEnd();
});