@playkit-js/playkit-js-ui 0.78.3-canary.0-e4a0726 → 0.78.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -100,11 +100,6 @@ class CustomCaptionsWindow extends Component<any, any> {
|
|
|
100
100
|
active: props.customTextStyle.backgroundColor.every((value, index) => value === standardColors[key][index])
|
|
101
101
|
}));
|
|
102
102
|
|
|
103
|
-
const fontAlignmentOption = player.TextStyle.FontAlignment.map(fontAlignment => ({
|
|
104
|
-
...fontAlignment,
|
|
105
|
-
active: props.customTextStyle.textAlign === fontAlignment.value
|
|
106
|
-
}));
|
|
107
|
-
|
|
108
103
|
return (
|
|
109
104
|
<div className={[style.overlayScreen, style.active].join(' ')}>
|
|
110
105
|
<form className={[style.form, style.customCaptionForm].join(' ')}>
|
|
@@ -116,14 +111,6 @@ class CustomCaptionsWindow extends Component<any, any> {
|
|
|
116
111
|
styleName="fontSize"
|
|
117
112
|
changeCustomStyle={props.changeCustomStyle}
|
|
118
113
|
/>
|
|
119
|
-
<DropDownCaptionsStyle
|
|
120
|
-
addAccessibleChild={props.addAccessibleChild}
|
|
121
|
-
labelId="cvaa.font_alignment_label"
|
|
122
|
-
options={fontAlignmentOption}
|
|
123
|
-
classNames={[style.formGroupRow, style.fontAlignment]}
|
|
124
|
-
styleName="textAlign"
|
|
125
|
-
changeCustomStyle={props.changeCustomStyle}
|
|
126
|
-
/>
|
|
127
114
|
<DropDownCaptionsStyle
|
|
128
115
|
addAccessibleChild={props.addAccessibleChild}
|
|
129
116
|
labelId="cvaa.font_color_label"
|