media-captions
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -670,2 +670,9 @@ import { | ||
this._updateOverlay(); | ||
for (const el of this._regions.values()) { | ||
el[STARTING_BOX] = null; | ||
} | ||
for (const el of this._cues.values()) { | ||
if (el) | ||
el[STARTING_BOX] = null; | ||
} | ||
this._render(true); | ||
@@ -796,6 +803,4 @@ }, 50); | ||
const el = this._createRegionElement(region); | ||
if (el) { | ||
this._regions.set(region.id, el); | ||
this.overlay.append(el); | ||
} | ||
this._regions.set(region.id, el); | ||
this.overlay.append(el); | ||
} | ||
@@ -802,0 +807,0 @@ } |
@@ -670,2 +670,9 @@ import { | ||
this.M(); | ||
for (const el of this.l.values()) { | ||
el[STARTING_BOX] = null; | ||
} | ||
for (const el of this.d.values()) { | ||
if (el) | ||
el[STARTING_BOX] = null; | ||
} | ||
this.N(true); | ||
@@ -796,6 +803,4 @@ }, 50); | ||
const el = this._(region); | ||
if (el) { | ||
this.l.set(region.id, el); | ||
this.overlay.append(el); | ||
} | ||
this.l.set(region.id, el); | ||
this.overlay.append(el); | ||
} | ||
@@ -802,0 +807,0 @@ } |
@@ -672,2 +672,9 @@ import { | ||
this._updateOverlay(); | ||
for (const el of this._regions.values()) { | ||
el[STARTING_BOX] = null; | ||
} | ||
for (const el of this._cues.values()) { | ||
if (el) | ||
el[STARTING_BOX] = null; | ||
} | ||
this._render(true); | ||
@@ -798,6 +805,4 @@ }, 50); | ||
const el = this._createRegionElement(region); | ||
if (el) { | ||
this._regions.set(region.id, el); | ||
this.overlay.append(el); | ||
} | ||
this._regions.set(region.id, el); | ||
this.overlay.append(el); | ||
} | ||
@@ -804,0 +809,0 @@ } |
{ | ||
"name": "media-captions", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Media captions parser and renderer.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279859
7809