File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -2134,6 +2134,21 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
2134
2134
repeat : 0 ,
2135
2135
} ) ;
2136
2136
essentialsContainer . parentNode . appendChild ( essentialsClone ) ;
2137
+ for ( let i = 0 ; i < essentialsClone . children . length ; i ++ ) {
2138
+ const child = essentialsClone . children [ i ] ;
2139
+ const originalChild = essentialsContainer . children [ i ] ;
2140
+ if ( ! gBrowser . isTab ( child ) || ! gBrowser . isTab ( originalChild ) ) {
2141
+ continue ;
2142
+ }
2143
+ const childBg = child . querySelector ( '.tab-background' ) ;
2144
+ const originalChildBg = originalChild . querySelector ( '.tab-background' ) ;
2145
+ if ( childBg && originalChildBg ) {
2146
+ childBg . style . setProperty (
2147
+ '--zen-tab-icon' ,
2148
+ originalChildBg . style . getPropertyValue ( '--zen-tab-icon' )
2149
+ ) ;
2150
+ }
2151
+ }
2137
2152
}
2138
2153
}
2139
2154
document . documentElement . setAttribute ( 'animating-background' , 'true' ) ;
You can’t perform that action at this time.
0 commit comments