mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Remove css classes from main panel on disable
This commit is contained in:
2
panel.js
2
panel.js
@@ -433,7 +433,7 @@ var dtpPanel = Utils.defineClass({
|
||||
if (!this.isSecondary) {
|
||||
this._setVertical(this.panel.actor, false);
|
||||
|
||||
this.panel.actor.remove_style_class_name('dashtopanelPanel vertical horizontal dashtopanelMainPanel ' + getOrientation());
|
||||
['vertical', 'horizontal', 'dashtopanelMainPanel'].forEach(c => this.panel.actor.remove_style_class_name(c));
|
||||
|
||||
this._setActivitiesButtonVisible(true);
|
||||
this._setClockLocation("BUTTONSLEFT");
|
||||
|
||||
Reference in New Issue
Block a user