|
@@ -317,7 +317,7 @@
|
|
setSubtitleOffset(offset) {
|
|
setSubtitleOffset(offset) {
|
|
const offsetValue = parseFloat(offset);
|
|
const offsetValue = parseFloat(offset);
|
|
this._currentTrackOffset = offsetValue;
|
|
this._currentTrackOffset = offsetValue;
|
|
- window.api.player.setSubtitleDelay(offset);
|
|
|
|
|
|
+ window.api.player.setSubtitleDelay(Math.round(offsetValue * 1000));
|
|
}
|
|
}
|
|
|
|
|
|
getSubtitleOffset() {
|
|
getSubtitleOffset() {
|