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

[enhancement] Add "." (dot) symbol to radio display #105

Closed
CyberGuerro opened this issue Apr 28, 2024 · 2 comments · Fixed by #106
Closed

[enhancement] Add "." (dot) symbol to radio display #105

CyberGuerro opened this issue Apr 28, 2024 · 2 comments · Fixed by #106
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@CyberGuerro
Copy link

When Selector is setted to COM1, COM2, NAV1, NAV2 it would be useful to see on display value like "134.90" instead of "13490"

I think that it could be possible introducing a parameter in line statement
from
line="on_select:SW_UP_COM1,dataref:sim/cockpit/radios/com1_freq_hz"
to
line="on_select:SW_UP_COM1,dataref:sim/cockpit/radios/com1_freq_hz,dot_position:3"
where "dot_position" is the key and "3" is the digit after which is positioned the "." symbol.

@CyberGuerro CyberGuerro changed the title [enhancement] Add "." (dot) position to radio display [enhancement] Add "." (dot) symbol to radio display Apr 28, 2024
@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
Copy link
Owner

I added the dot_position option. Here it is a test build for Linux: https://github.com/norberttak/XPanel/actions/runs/8910295579/artifacts/1463916654

See some details in PR #106

@CyberGuerro
Copy link
Author

Perfect, updated my xpanel.ini files, tested and all works like expected.
Great job

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 a pull request may close this issue.

2 participants