Skip to content

Commit

Permalink
Merge pull request #41 from qmsk/fix-bg-matte
Browse files Browse the repository at this point in the history
Tally: fix BG sources to ignore matte layers
  • Loading branch information
SpComb authored Aug 3, 2019
2 parents 231089c + 551f331 commit 8ecce47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tally/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (source Source) updateState(state *State) error {
}

for bgIndex, bgLayer := range screen.BGLyr {
if bgLayer.LastBGSourceIndex == bgSourceID {
if bgLayer.LastBGSourceIndex == bgSourceID && bgLayer.ShowMatte == 0 {
if bgIndex == screen.CurrBGLyr {
status.Program = true
} else {
Expand Down

0 comments on commit 8ecce47

Please sign in to comment.