mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(tile-view):Recalculate on window height change
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
2ac2138982
commit
550c730ed4
@@ -61,8 +61,13 @@ StateListenerRegistry.register(
|
||||
*/
|
||||
StateListenerRegistry.register(
|
||||
/* selector */ state => {
|
||||
return { layout: getCurrentLayout(state),
|
||||
width: state['features/base/responsive-ui'].clientWidth };
|
||||
const { clientHeight, clientWidth } = state['features/base/responsive-ui'];
|
||||
|
||||
return {
|
||||
layout: getCurrentLayout(state),
|
||||
height: clientHeight,
|
||||
width: clientWidth
|
||||
};
|
||||
},
|
||||
/* listener */ ({ layout }, store) => {
|
||||
switch (layout) {
|
||||
|
||||
Reference in New Issue
Block a user