feat(thumbnail-indicators): Configurable icon sizes.
This commit is contained in:
parent
981600a999
commit
a95d38a0f4
|
@ -18,16 +18,6 @@ const ThumbnailSizes = {
|
||||||
MEDIUM: 80
|
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.
|
* Created by hristo on 12/22/14.
|
||||||
*/
|
*/
|
||||||
|
@ -310,6 +300,11 @@ const UIUtil = {
|
||||||
? $('#localVideoContainer').height() : thumbnailHeight;
|
? $('#localVideoContainer').height() : thumbnailHeight;
|
||||||
|
|
||||||
const { SMALL, MEDIUM } = ThumbnailSizes;
|
const { SMALL, MEDIUM } = ThumbnailSizes;
|
||||||
|
const IndicatorFontSizes = interfaceConfig.INDICATOR_FONT_SIZES || {
|
||||||
|
SMALL: 5,
|
||||||
|
MEDIUM: 6,
|
||||||
|
NORMAL: 8
|
||||||
|
};
|
||||||
let fontSize = IndicatorFontSizes.NORMAL;
|
let fontSize = IndicatorFontSizes.NORMAL;
|
||||||
|
|
||||||
if (height <= SMALL) {
|
if (height <= SMALL) {
|
||||||
|
|
Loading…
Reference in New Issue