mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
cleanup: remove extraneous semi-colons and tabs
This commit is contained in:
@@ -579,7 +579,7 @@ export const TaskbarAppIcon = GObject.registerClass({
|
||||
let highlightMargin = this._focusedIsWide ? SETTINGS.get_int('dot-size') : 0;
|
||||
|
||||
if(!this.window) {
|
||||
let containerWidth = this._dtpIconContainer.get_width() / Utils.getScaleFactor();;
|
||||
let containerWidth = this._dtpIconContainer.get_width() / Utils.getScaleFactor();
|
||||
let backgroundSize = containerWidth + "px " +
|
||||
(containerWidth - (pos == DOT_POSITION.BOTTOM ? highlightMargin : 0)) + "px;";
|
||||
|
||||
@@ -1495,7 +1495,7 @@ export class TaskbarSecondaryMenu extends AppMenu.AppMenu {
|
||||
Mainloop.idle_add(() =>
|
||||
windows.forEach((w) => !!w.get_compositor_private() && w.delete(time++)))
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* This function is used for extendDashItemContainer
|
||||
@@ -1567,7 +1567,7 @@ export function ItemShowLabel() {
|
||||
time: duration,
|
||||
transition: 'easeOutQuad',
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* A wrapper class around the ShowAppsIcon class.
|
||||
|
||||
2
prefs.js
2
prefs.js
@@ -151,7 +151,7 @@ function mergeObjects(main, bck) {
|
||||
}
|
||||
|
||||
return main;
|
||||
};
|
||||
}
|
||||
|
||||
const Preferences = class {
|
||||
|
||||
|
||||
@@ -280,7 +280,7 @@ export class AppProgress extends EventEmitter {
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
export const ProgressIndicator = class {
|
||||
|
||||
@@ -67,7 +67,7 @@ const T3 = 'resetHoverTimeout'
|
||||
|
||||
export function extendDashItemContainer(dashItemContainer) {
|
||||
dashItemContainer.showLabel = AppIcons.ItemShowLabel;
|
||||
};
|
||||
}
|
||||
|
||||
const iconAnimationSettings = {
|
||||
_getDictValue(key) {
|
||||
@@ -308,9 +308,9 @@ export const Taskbar = class extends EventEmitter {
|
||||
}
|
||||
],
|
||||
[
|
||||
this._appSystem,
|
||||
'app-state-changed',
|
||||
this._queueRedisplay.bind(this)
|
||||
this._appSystem,
|
||||
'app-state-changed',
|
||||
this._queueRedisplay.bind(this)
|
||||
],
|
||||
[
|
||||
AppFavorites.getAppFavorites(),
|
||||
|
||||
Reference in New Issue
Block a user