From 5940f2890a786808ea6157e38b000c34475183d5 Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Fri, 7 Feb 2020 17:10:52 +0200 Subject: [PATCH] fix(remote-control): mouse events --- .../features/filmstrip/components/web/Filmstrip.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/react/features/filmstrip/components/web/Filmstrip.js b/react/features/filmstrip/components/web/Filmstrip.js index a81dbd89e..6596349ca 100644 --- a/react/features/filmstrip/components/web/Filmstrip.js +++ b/react/features/filmstrip/components/web/Filmstrip.js @@ -161,14 +161,15 @@ class Filmstrip extends Component { // will get updated without replacing the DOM. If the known DOM gets // modified, then the views will get blown away. - const remoteVideosStyle = { }; + const filmstripStyle = { }; const filmstripRemoteVideosContainerStyle = {}; let remoteVideoContainerClassName = 'remote-videos-container'; switch (this.props._currentLayout) { case LAYOUTS.VERTICAL_FILMSTRIP_VIEW: - // Adding 8px for the 2px margins and 2px borders on the left and right. Also adding 7px for the scrollbar. - remoteVideosStyle.maxWidth = (interfaceConfig.FILM_STRIP_MAX_HEIGHT || 120) + 15; + // Adding 18px for the 2px margins, 2px borders on the left and right and 5px padding on the left and right. + // Also adding 7px for the scrollbar. + filmstripStyle.maxWidth = (interfaceConfig.FILM_STRIP_MAX_HEIGHT || 120) + 25; break; case LAYOUTS.TILE_VIEW: { // The size of the side margins for each tile as set in CSS. @@ -184,13 +185,14 @@ class Filmstrip extends Component { } return ( -
+
{ this.props._filmstripOnly ? : this._renderToggleButton() }
+ id = 'remoteVideos'>