Skip to content

Commit

Permalink
Merge pull request #196 from jellyfin/dependabot/npm_and_yarn/prettie…
Browse files Browse the repository at this point in the history
…r-2.3.0

chore(deps-dev): bump prettier from 2.2.1 to 2.3.0
  • Loading branch information
ferferga authored May 13, 2021
2 parents d789b79 + 9a00e48 commit 08df691
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"image-minimizer-webpack-plugin": "^2.1.0",
"imagemin-svgo": "^8.0.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"source-map-loader": "^2.0.1",
"style-loader": "^2.0.0",
"stylelint": "^13.13.1",
Expand Down
6 changes: 4 additions & 2 deletions src/components/maincontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,8 @@ export function setTextTrack(index: number | null): void {
return;
}

const tracks: Array<framework.messages.Track> = textTracksManager.getTracks();
const tracks: Array<framework.messages.Track> =
textTracksManager.getTracks();
const subtitleTrack: framework.messages.Track | undefined = tracks.find(
(track: framework.messages.Track) => {
return track.trackId === index;
Expand All @@ -737,7 +738,8 @@ export function setTextTrack(index: number | null): void {
const subtitleAppearance = window.subtitleAppearance;

if (subtitleAppearance) {
const textTrackStyle = new cast.framework.messages.TextTrackStyle();
const textTrackStyle =
new cast.framework.messages.TextTrackStyle();

if (subtitleAppearance.dropShadow != null) {
// Empty string is DROP_SHADOW
Expand Down

0 comments on commit 08df691

Please sign in to comment.