File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 11: root {
2- --text-layer-opacity : 0.2 ;
32 --text-layer-foreground : transparent;
43}
54
65.textLayer {
76 text-align : initial;
87 position : absolute;
98 overflow : clip;
10- opacity : var ( --text-layer-opacity ) ;
9+ opacity : 1 ;
1110 line-height : 1 ;
1211 text-size-adjust : none;
1312 forced-color-adjust : none;
Original file line number Diff line number Diff line change @@ -382,13 +382,10 @@ globalThis.abortDocumentOutline = function () {
382382
383383globalThis . toggleTextLayerVisibility = function ( ) {
384384 let textLayerForeground = "red" ;
385- let textLayerOpacity = 1 ;
386385 if ( isTextLayerVisible ) {
387386 textLayerForeground = "transparent" ;
388- textLayerOpacity = 0.2 ;
389387 }
390388 document . documentElement . style . setProperty ( "--text-layer-foreground" , textLayerForeground ) ;
391- document . documentElement . style . setProperty ( "--text-layer-opacity" , textLayerOpacity . toString ( ) ) ;
392389 isTextLayerVisible = ! isTextLayerVisible ;
393390} ;
394391
You can’t perform that action at this time.
0 commit comments