mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Improve filter tuning tip
This commit is contained in:
parent
d155ce035a
commit
02a6610a99
4 changed files with 12 additions and 3 deletions
|
@ -188,7 +188,6 @@
|
|||
width: 80px;
|
||||
text-align-last: right;
|
||||
font-size: 1.1em;
|
||||
color: darkslategrey;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
|
|
@ -1567,6 +1567,8 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('.pid_filter input, .pid_filter select').on('input', () => TuningSliders.updateFilterSlidersDisplay());
|
||||
// update on filter switch changes
|
||||
$('.inputSwitch input').change(() => TuningSliders.updateFilterSlidersDisplay());
|
||||
|
||||
$('.tuningHelp').hide();
|
||||
} else {
|
||||
$('.tuningPIDSliders').hide();
|
||||
$('.slidersDisabled').hide();
|
||||
|
@ -1574,6 +1576,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
$('.tuningFilterSliders').hide();
|
||||
$('.slidersFilterDisabled').hide();
|
||||
$('.slidersFilterHighWarning').hide();
|
||||
$('.tuningHelpSliders').hide();
|
||||
}
|
||||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.16.0")) {
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<div class="gui_box slidersDisabled">
|
||||
<div class="gui_box topspacer slidersDisabled">
|
||||
<table class="note-button">
|
||||
<td i18n="pidTuningSlidersDisabled"></td>
|
||||
<td>
|
||||
|
@ -813,9 +813,12 @@
|
|||
<!-- FILTER SUBTAB -->
|
||||
<div class="subtab-filter" style="display: none;">
|
||||
<div class="clear-both"></div>
|
||||
<div class="note">
|
||||
<div class="note tuningHelp">
|
||||
<p i18n="tuningHelp"></p>
|
||||
</div>
|
||||
<div class="note tuningHelpSliders">
|
||||
<p i18n="tuningHelpSliders"></p>
|
||||
</div>
|
||||
<div class="note filterWarning">
|
||||
<p i18n="filterWarning"></p>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue