mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Fix erroneous numbers on mixer preview
This commit is contained in:
parent
c9a42963e5
commit
016b08cd26
1 changed files with 6 additions and 1 deletions
|
@ -433,13 +433,18 @@ TABS.mixer.initialize = function (callback, scrollPosition) {
|
|||
rules = currentMixerPreset.motorMixer;
|
||||
}
|
||||
|
||||
if (currentMixerPreset.image != 'quad_x') {
|
||||
for (i = 1; i < 5; i++) {
|
||||
$("#motorNumber"+i).css("visibility", "hidden");
|
||||
}
|
||||
}
|
||||
|
||||
for (const i in rules) {
|
||||
if (rules.hasOwnProperty(i)) {
|
||||
const rule = rules[i];
|
||||
index++;
|
||||
|
||||
if (currentMixerPreset.image != 'quad_x') {
|
||||
$("#motorNumber"+index).css("visibility", "hidden");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue