Skip to content

Commit

Permalink
fix: set enable for pilots targeting wall
Browse files Browse the repository at this point in the history
  • Loading branch information
ianshade committed Nov 17, 2021
1 parent e2bfa83 commit 22a2a4c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/tv2-common/helpers/graphics/viz/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,12 @@ export function GetPilotGraphicContentViz(
timelineObjects: [
literal<TSR.TimelineObjVIZMSEElementPilot>({
id: '',
enable: IsTargetingOVL(engine)
? GetEnableForGraphic(config, part, engine, parsedCue, false, undefined, adlib)
: {
start: 0
},
enable:
IsTargetingOVL(engine) || IsTargetingWall(engine)
? GetEnableForGraphic(config, part, engine, parsedCue, false, undefined, adlib)
: {
start: 0
},
priority: 1,
layer: IsTargetingWall(engine)
? GraphicLLayer.GraphicLLayerWall
Expand Down

0 comments on commit 22a2a4c

Please sign in to comment.