Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dot position display #106

Merged
merged 3 commits into from
May 1, 2024
Merged

Dot position display #106

merged 3 commits into from
May 1, 2024

Conversation

norberttak
Copy link
Owner

This PR adds the dot (period) option to display lines.

To add a dot for a given display line, you need to use the dot_position property. The 0 index is the most right dot character.

For example to display 123.45 you have to set the dot_position like this:

[multi_display:id="RADIO_DISPLAY_ACTIVE_UP"]
line="on_select:SW_UP_COM1,dataref:sim/cockpit2/radios/actuators/com1_frequency_hz, dot_position: 2"

closes #105

@norberttak norberttak self-assigned this May 1, 2024
@norberttak norberttak added the enhancement New feature or request label May 1, 2024
@norberttak norberttak added this to the v1.10 milestone May 1, 2024
@norberttak norberttak merged commit 72fd919 into master May 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[enhancement] Add "." (dot) symbol to radio display
1 participant