mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 15:25:22 +03:00
Merge pull request #1240 from klutvott123/Fix-rc-expo-background-color
Fix rc expo background color
This commit is contained in:
commit
ba6770702e
1 changed files with 6 additions and 5 deletions
|
@ -985,12 +985,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