Skip to content

Commit dd183f0

Browse files
authored
Auto merged - #2634 at Tue, 09 Nov 2021 07:17:18 GMT
Split header and fix i18n message
2 parents 41747c6 + 4c9fbc6 commit dd183f0

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

locales/en/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4003,7 +4003,7 @@
40034003
"message": "Absolute Control"
40044004
},
40054005
"pidTuningAbsoluteControlGainHelp": {
4006-
"message": "This feature solves some underlying problems of $t(pidTuningItermRotation.message) and should hopefully replace it at some point. This feature accumulates the absolute gyro error in quad coordinates and mixes a proportional correction into the setpoint. For it to work you need to enable AirMode and $t(pidTuningItermRelax.message) (for $t(pidTuningItermRelaxAxesOptionRP.message)). If you combine this feature with $t(pidTuningIntegratedYaw.message), you can set $t(pidTuningItermRelax.message) enabled for $t(pidTuningItermRelaxAxesOptionRPY.message)."
4006+
"message": "This feature solves some underlying problems of $t(pidTuningItermRotation.message) and should hopefully replace it at some point. This feature accumulates the absolute gyro error in quad coordinates and mixes a proportional correction into the setpoint. For it to work you need to enable AirMode and $t(pidTuningItermRelax.message) (for $t(pidTuningOptionRP.message)). If you combine this feature with $t(pidTuningIntegratedYaw.message), you can set $t(pidTuningItermRelax.message) enabled for $t(pidTuningOptionRPY.message)."
40074007
},
40084008
"pidTuningThrottleBoost": {
40094009
"message": "Throttle Boost"

src/css/tabs/pid_tuning.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,12 @@
817817
}
818818

819819
.tab-pid_tuning .tuningPIDSliders .pid_titlebar th:first-child {
820-
width: 20%;
820+
width: 6%;
821+
text-align: right;
822+
border-right: none;
823+
}
824+
.tab-pid_tuning .tuningPIDSliders .pid_titlebar th:nth-child(2) {
825+
width: 14%;
821826
border-right: none;
822827
}
823828

@@ -826,7 +831,7 @@
826831
border-right: none;
827832
}
828833

829-
.tab-pid_tuning .tuningPIDSliders .pid_titlebar th:nth-child(2),
834+
.tab-pid_tuning .tuningPIDSliders .pid_titlebar th:nth-child(3),
830835
.tab-pid_tuning .tuningFilterSliders .pid_titlebar th:nth-child(2) {
831836
width: 30px;
832837
}
@@ -897,7 +902,7 @@
897902
}
898903

899904
.tab-pid_tuning .subtab-pid .cf_column {
900-
min-width: 472px;
905+
min-width: 600px;
901906
flex: 1;
902907
}
903908

src/tabs/pid_tuning.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@
174174
<tr>
175175
<th scope="col">
176176
<div i18n="pidTuningSliderPidsMode" class="sm-min"></div>
177+
</th>
178+
<th scope="col">
177179
<select id="sliderPidsModeSelect" class="sliderMode">
178180
<option value="0" i18n="pidTuningOptionOff"></option>
179181
<option value="1" i18n="pidTuningOptionRP"></option>

0 commit comments

Comments
 (0)