Commit cffbaa7
committed
fix(casparcg): preserve layers when updating channel info without resync
Only clear _currentState.channels when doing a resync (firstConnect || doResync).
When updating channel info (videoMode/fps), preserve existing layers that are
built up by shared-control feature instead of always clearing them.
Addresses PR feedback from @Julusian1 parent e8ef1a4 commit cffbaa7
1 file changed
Lines changed: 5 additions & 3 deletions
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | | - | |
180 | | - | |
| 181 | + | |
181 | 182 | | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
186 | | - | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
0 commit comments