mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 07:15:15 +03:00
Fix rc expo background color
This commit is contained in:
parent
2f3a319f67
commit
b6201bae77
1 changed files with 6 additions and 5 deletions
|
@ -966,12 +966,13 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||
$('.pid_tuning .bracket').hide();
|
||||
$('.pid_tuning input[name=rc_rate]').parent().css('background-color', '')
|
||||
$('.pid_tuning input[name=rc_rate]').parent().attr('rowspan', 1)
|
||||
$('.pid_tuning input[name=rc_expo]').parent().attr('rowspan', 1)
|
||||
$('.pid_tuning input[name=rc_rate]').parent().css('background-color', '');
|
||||
$('.pid_tuning input[name=rc_rate]').parent().attr('rowspan', 1);
|
||||
$('.pid_tuning input[name=rc_expo]').parent().css('background-color', '');
|
||||
$('.pid_tuning input[name=rc_expo]').parent().attr('rowspan', 1);
|
||||
} else {
|
||||
$('.pid_tuning input[name=rc_rate_pitch]').parent().hide()
|
||||
$('.pid_tuning input[name=rc_pitch_expo]').parent().hide()
|
||||
$('.pid_tuning input[name=rc_rate_pitch]').parent().hide();
|
||||
$('.pid_tuning input[name=rc_pitch_expo]').parent().hide();
|
||||
}
|
||||
|
||||
if (useLegacyCurve) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue