File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ var gZenCompactModeManager = {
91
91
this . preference === value ||
92
92
document . documentElement . hasAttribute ( 'zen-compact-animating' )
93
93
) {
94
+ if ( typeof this . _wasInCompactMode !== 'undefined' ) {
95
+ // We wont do anything with it anyway, so we remove it
96
+ delete this . _wasInCompactMode ;
97
+ }
94
98
// We dont want the user to be able to spam the button
95
99
return value ;
96
100
}
@@ -99,6 +103,7 @@ var gZenCompactModeManager = {
99
103
// main-window can't store attributes other than window sizes, so we use this instead
100
104
lazyCompactMode . mainAppWrapper . setAttribute ( 'zen-compact-mode' , value ) ;
101
105
document . documentElement . setAttribute ( 'zen-compact-mode' , value ) ;
106
+ Services . xulStore . persist ( lazyCompactMode . mainAppWrapper , 'zen-compact-mode' ) ;
102
107
this . _updateEvent ( ) ;
103
108
return value ;
104
109
} ,
Original file line number Diff line number Diff line change 152
152
border-radius : calc (var (--zen-native-inner-radius ) + var (--zen-element-separation ) / 4 );
153
153
@media -moz-pref('zen.view.compact.color-sidebar' ) {
154
154
background : var (--zen-main-browser-background-toolbar ) !important ;
155
+ background-attachment : fixed !important ;
155
156
background-size : 2000px !important ;
156
157
@media -moz-pref('zen.theme.acrylic-elements' ) {
157
158
backdrop-filter : blur (42px ) saturate (110% ) brightness (0.25 ) contrast (100% ) !important ;
You can’t perform that action at this time.
0 commit comments