Skip to content

Commit

Permalink
Fix model preview in receiver tab (betaflight#3847)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Mar 20, 2024
1 parent b9972ef commit 295aedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/tabs/receiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ receiver.initModelPreview = function () {
};

receiver.renderModel = function () {
if (this.keepRendering) {
if (!this.keepRendering) {
return;
}
requestAnimationFrame(this.renderModel.bind(this));
Expand Down

0 comments on commit 295aedb

Please sign in to comment.