|
@@ -121,7 +121,12 @@ StateListenerRegistry.register(
|
121
|
121
|
StateListenerRegistry.register(
|
122
|
122
|
/* selector */ state => state['features/base/responsive-ui'].clientWidth < ASPECT_RATIO_BREAKPOINT,
|
123
|
123
|
/* listener */ (widthBelowThreshold, store) => {
|
124
|
|
- store.dispatch(setFilmstripVisible(!widthBelowThreshold));
|
|
124
|
+ const state = store.getState();
|
|
125
|
+ const { autohideFilmstrip } = state['features/base/config'];
|
|
126
|
+
|
|
127
|
+ if (autohideFilmstrip) {
|
|
128
|
+ store.dispatch(setFilmstripVisible(!widthBelowThreshold));
|
|
129
|
+ }
|
125
|
130
|
});
|
126
|
131
|
|
127
|
132
|
/**
|