Skip to content

Commit

Permalink
Fix: Variable definition update limiting
Browse files Browse the repository at this point in the history
  • Loading branch information
thedist committed Feb 16, 2022
1 parent c03ff27 commit 5949396
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "studiocoast-vmix",
"version": "2.0.6",
"version": "2.0.7",
"api_version": "1.0.0",
"keywords": [
"Software",
Expand Down
2 changes: 1 addition & 1 deletion src/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export class Variables {
if (this.instance.config.variablesShowInputGUID) filteredVariables = [...filteredVariables, ...inputKeyVariables]

// Prevent triggering a definitions update unless there's a change
if (!_.isEqual(filteredVariables, this.currentDefinitions)) {
if (!_.isEqual(filteredVariables, [...this.currentDefinitions])) {
this.currentDefinitions = new Set(filteredVariables)

this.instance.setVariableDefinitions(filteredVariables)
Expand Down

0 comments on commit 5949396

Please sign in to comment.