mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-11 10:43:46 +08:00
big ui pulseglide fix
This commit is contained in:
@@ -780,7 +780,12 @@ class StarPilotLongitudinalLayout(_SettingsPage):
|
||||
SettingRow("PulseGlideSpeedDelta", "value", tr_noop("Pulse and Glide Delta"),
|
||||
subtitle=tr_noop("Developer-only: coast this far below the current cruise target before accelerating back up."),
|
||||
get_value=lambda: f"{self._params.get_float('PulseGlideSpeedDelta'):.1f}{self._speed_unit()}",
|
||||
on_click=lambda: self._show_slider("PulseGlideSpeedDelta"),
|
||||
on_click=lambda: self._show_slider("PulseGlideSpeedDelta", 0.5,
|
||||
30.0 if self._is_metric() else 15.0,
|
||||
step=0.5,
|
||||
unit=self._speed_unit(),
|
||||
value_type="float",
|
||||
title="Pulse and Glide Delta"),
|
||||
visible=lambda: self._params.get_bool("QOLLongitudinal") and self._developer_feature_access()),
|
||||
SettingRow("MapGears", "toggle", tr_noop("Map Gears"),
|
||||
subtitle="",
|
||||
|
||||
Reference in New Issue
Block a user