Skip to content

Commit

Permalink
Merge pull request #12969 from git-developer/fix/controller-behringer
Browse files Browse the repository at this point in the history
Fix mapping for Behringer controllers DDM4000 & BCR2000
  • Loading branch information
JoergAtGithub authored Mar 19, 2024
2 parents 751dd29 + 132bf2b commit c2ecb8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/controllers/Behringer-Extension-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@
isEnabled: function() { return this.id !== 0; },
start: function() {
this.reset();
this.id = engine.beginTimer(this.timeout, () => {
this.id = engine.beginTimer(this.timeout, function() {
if (this.oneShot) {
this.disable();
}
this.action.call(this.owner);
}, this.oneShot);
}.bind(this), this.oneShot); // .bind(this) is required instead of arrow function for Qt < 6.2.4 due to QTBUG-95677
},
reset: function() {
if (this.isEnabled()) {
Expand Down

0 comments on commit c2ecb8e

Please sign in to comment.