mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 07:15:15 +03:00
Merge pull request #1952 from Asizon/derivateToDMax
Renamed Derivative to DMax when using Dmin
This commit is contained in:
commit
69ab24e0f3
3 changed files with 6 additions and 1 deletions
|
@ -493,6 +493,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('.dminGroup .suboption').show();
|
||||
$('#pid_main tr :nth-child(5)').show();
|
||||
$('#pid_main .pid_titlebar2 th').attr('colspan', 6);
|
||||
$('.derivativeText').text(i18n.getMessage("pidTuningDMax"));
|
||||
} else {
|
||||
$('.pid_tuning input[name="dMinRoll"]').val(0);
|
||||
$('.pid_tuning input[name="dMinPitch"]').val(0);
|
||||
|
@ -501,6 +502,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('.dminGroup .suboption').hide();
|
||||
$('#pid_main tr :nth-child(5)').hide();
|
||||
$('#pid_main .pid_titlebar2 th').attr('colspan', 5);
|
||||
$('.derivativeText').text(i18n.getMessage("pidTuningDerivative"));
|
||||
}
|
||||
});
|
||||
dMinSwitch.change();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue