Skip to content

Commit

Permalink
fix: Opacity values for dve locators were set to 100 even though the …
Browse files Browse the repository at this point in the history
…CasparCG value has to be between 0 and 1
  • Loading branch information
RasmusAlbrektsen committed Sep 19, 2024
1 parent f432956 commit bbb170f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('HtmlPilotGraphicGenerator', () => {
},
useStopCommand: false,
mixer: {
opacity: 100
opacity: 1
}
})
)
Expand Down Expand Up @@ -158,7 +158,7 @@ describe('HtmlPilotGraphicGenerator', () => {
},
useStopCommand: false,
mixer: {
opacity: 100
opacity: 1
}
})
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class HtmlPilotGraphicGenerator extends PilotGraphicGenerator {
data: templateData,
useStopCommand: false,
mixer: {
opacity: 100
opacity: 1
}
}
}),
Expand Down
2 changes: 1 addition & 1 deletion src/tv2-common/helpers/graphics/caspar/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function CreateHTMLRendererContent(
},
useStopCommand: false,
mixer: {
opacity: 100
opacity: 1
}
}
}
Expand Down

0 comments on commit bbb170f

Please sign in to comment.