Skip to content

Commit

Permalink
chore: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Sep 17, 2024
1 parent 78c8bde commit 353628c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions companion/lib/Graphics/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ class GraphicsController extends CoreBase {
#debouncePendingVariables = debounceFn(
() => {
const values = this.#pendingVariables
this.#pendingVariables = null
this.variablesController.values.setVariableValues('internal', values)
if (values) {
this.#pendingVariables = null
this.variablesController.values.setVariableValues('internal', values)
}
},
{
wait: 10,
Expand Down

0 comments on commit 353628c

Please sign in to comment.