mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
@@ -120,6 +120,9 @@ const dtpPanelStyle = new Lang.Class({
|
||||
this._overrideStyle(actor, trayContentSizeStyleLine, operationIdx);
|
||||
});
|
||||
this._rightBoxOperations.push(operation);
|
||||
|
||||
this._overrideStyle(this.panel._rightBox, trayContentSizeStyleLine, 0);
|
||||
this._overrideStyle(this.panel._centerBox, trayContentSizeStyleLine, 0);
|
||||
}
|
||||
|
||||
// center box has been moved next to the right box and will be treated the same
|
||||
@@ -164,22 +167,27 @@ const dtpPanelStyle = new Lang.Class({
|
||||
this._overrideStyle(actor, leftboxContentSizeStyleLine, operationIdx);
|
||||
});
|
||||
this._leftBoxOperations.push(operation);
|
||||
|
||||
this._overrideStyle(this.panel._leftBox, leftboxContentSizeStyleLine, 0);
|
||||
}
|
||||
|
||||
|
||||
/*recurse actors */
|
||||
this._restoreOriginalStyle(this.panel._rightBox);
|
||||
if(this._rightBoxOperations.length) {
|
||||
let children = this.panel._rightBox.get_children();
|
||||
for(let i in children)
|
||||
this._recursiveApply(children[i], this._rightBoxOperations);
|
||||
}
|
||||
|
||||
this._restoreOriginalStyle(this.panel._centerBox);
|
||||
if(this._centerBoxOperations.length) {
|
||||
let children = this.panel._centerBox.get_children();
|
||||
for(let i in children)
|
||||
this._recursiveApply(children[i], this._centerBoxOperations);
|
||||
}
|
||||
|
||||
this._restoreOriginalStyle(this.panel._leftBox);
|
||||
if(this._leftBoxOperations.length) {
|
||||
let children = this.panel._leftBox.get_children();
|
||||
for(let i in children)
|
||||
|
||||
Reference in New Issue
Block a user