Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(thumbnail-indicators): Configurable icon sizes.

Hristo Terezova95d38a0f4af
diff --git a/modules/UI/util/UIUtil.js b/modules/UI/util/UIUtil.js
index cc7d44309c..ce7413e92b 100644
--- a/modules/UI/util/UIUtil.js
+++ b/modules/UI/util/UIUtil.js
@@ -18,16 +18,6 @@ const ThumbnailSizes = {
MEDIUM: 80
};
-/**
- * Contains font sizes for thumbnail indicators
- * @type {{SMALL: number, MEDIUM: number}}
- */
-const IndicatorFontSizes = {
- SMALL: 5,
- MEDIUM: 6,
- NORMAL: 8
-};
-
/**
* Created by hristo on 12/22/14.
*/
@@ -310,6 +300,11 @@ const UIUtil = {
? $('#localVideoContainer').height() : thumbnailHeight;
const { SMALL, MEDIUM } = ThumbnailSizes;
+ const IndicatorFontSizes = interfaceConfig.INDICATOR_FONT_SIZES || {
+ SMALL: 5,
+ MEDIUM: 6,
+ NORMAL: 8
+ };
let fontSize = IndicatorFontSizes.NORMAL;
if (height <= SMALL) {