mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Ensure theme styles are computed when applying transparency
This commit is contained in:
@@ -133,7 +133,8 @@ var taskbarActor = Utils.defineClass({
|
||||
hupper = Math.floor(hupper);
|
||||
scrollview._dtpFadeSize = hupper > hpageSize ? this._delegate.iconSize : 0;
|
||||
|
||||
if (this._currentBackgroundColor !== this._delegate.panelWrapper.dynamicTransparency.currentBackgroundColor) {
|
||||
if (this._delegate.panelWrapper.dynamicTransparency &&
|
||||
this._currentBackgroundColor !== this._delegate.panelWrapper.dynamicTransparency.currentBackgroundColor) {
|
||||
this._currentBackgroundColor = this._delegate.panelWrapper.dynamicTransparency.currentBackgroundColor;
|
||||
let gradientStart = 'background-gradient-start: ' + this._currentBackgroundColor;
|
||||
leftFade.set_style(gradientStart);
|
||||
|
||||
Reference in New Issue
Block a user