From 8c074341c5de63702019325526aafc5a86e68294 Mon Sep 17 00:00:00 2001 From: Andriy Zyn`uk <62100293+andrijzyn@users.noreply.github.com> Date: Wed, 15 Jul 2026 11:54:38 +0200 Subject: [PATCH] Update dock.js --- dock.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dock.js b/dock.js index d3202ad..3d52a36 100644 --- a/dock.js +++ b/dock.js @@ -1264,6 +1264,10 @@ export let Dock = GObject.registerClass( this.add_style_class_name('hi'); this.struts.add_style_class_name('hi'); this.dwell.add_style_class_name('hi'); + } else { + this.remove_style_class_name('hi'); + this.struts.remove_style_class_name('hi'); + this.dwell.remove_style_class_name('hi'); } this._favorite_ids = Fav.getAppFavorites()._getIds(); @@ -1293,11 +1297,9 @@ export let Dock = GObject.registerClass( } _endAnimation() { - if (this.extension.debug_visual) { - this.remove_style_class_name('hi'); - this.struts.remove_style_class_name('hi'); - this.dwell.remove_style_class_name('hi'); - } + this.remove_style_class_name('hi'); + this.struts.remove_style_class_name('hi'); + this.dwell.remove_style_class_name('hi'); this._updateFocusedIcon();