1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 09:45:28 +03:00

Fix model preview in receiver tab (#3847)

This commit is contained in:
Mark Haslinghuis 2024-03-20 19:41:44 +01:00 committed by GitHub
parent b9972efb0d
commit 295aedbc79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -855,7 +855,7 @@ receiver.initModelPreview = function () {
};
receiver.renderModel = function () {
if (this.keepRendering) {
if (!this.keepRendering) {
return;
}
requestAnimationFrame(this.renderModel.bind(this));