12 lines
368 B
TypeScript
12 lines
368 B
TypeScript
import { IReduxState } from '../app/types';
|
|
|
|
/**
|
|
* Selects the thumbnail height to the quality level mapping from the config.
|
|
*
|
|
* @param {Object} state - The redux state.
|
|
* @returns {Map<number,number>}
|
|
*/
|
|
export function getMinHeightForQualityLvlMap(state: IReduxState): Map<number, number> {
|
|
return state['features/video-quality'].minHeightForQualityLvl;
|
|
}
|