Set clipping container on panel creation

This commit is contained in:
Charles Gagnon
2020-03-31 10:02:58 -04:00
parent 769a4840f1
commit c99b07c4c9
4 changed files with 31 additions and 26 deletions

View File

@@ -133,7 +133,7 @@ var DynamicTransparency = Utils.defineClass({
let threshold = Me.settings.get_int('trans-dynamic-distance');
this._proximityWatchId = this._proximityManager.createWatch(
this._dtpPanel.panelBox,
this._dtpPanel.panelBox.get_parent(),
Proximity.Mode[Me.settings.get_string('trans-dynamic-behavior')],
isVertical ? threshold : 0,
isVertical ? 0 : threshold,