Fix rc expo background color
parent
2f3a319f67
commit
b6201bae77
|
@ -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…
Reference in New Issue