-
Notifications
You must be signed in to change notification settings - Fork 118
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
Improve Racks interaction usability #526
Conversation
Make them fit into 1 ACE3 Interaction Menu line Conform with single Dash action
Add channel label to radio name Move Unmountable and Unmount texts as radio sub-actions (unmountable dummy action) Change radio action to open radio instead of unmount (conform with self-interaction, avoid confusion and mistakes) Cleanup rack children actions function
…ed as command and not preprocessor directive)
QGVAR(mountedRadio), | ||
_displayName, | ||
_icon, | ||
{[_this#2#1] call EFUNC(sys_radio,openRadio)}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sitll think that this looks awful and reduces code readability
@@ -44,7 +44,7 @@ private _radioList = [] call EFUNC(api,getCurrentRadioList); | |||
private _currentChannel = [_x] call EFUNC(api,getRadioChannel); | |||
_displayName = format [localize LSTRING(channelShort), _displayName, _currentChannel]; | |||
private _picture = getText (_item >> "picture"); | |||
private _isActive = _x isEqualTo _currentRadio; | |||
private _isActive = _x isEqualTo _currentRadio; // Unused |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not delete the variable then rather than having it defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Future use, already passed down the rabbit hole of function calls.
It's actually used...
@@ -98,7 +98,7 @@ | |||
<Italian>Cruscotto</Italian> | |||
</Key> | |||
<Key ID="STR_ACRE_sys_rack_dashLower"> | |||
<English>Dashboard Lower</English> | |||
<English>Dash Lower</English> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dash is not the same as dashboard if I am not mistaken.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decided it will be changed in the future if that's true. AFAIK "Dash" can just be used as short form of "Dashboard", and it fits interaction menu in a much nicer way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dash is short for dashboard.
"Don't put your coffee on the dash."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect then. My bad.
What does the Channel Label show with the AN/PRC-77? |
"Chn: 1" always. It's using the same function as self-interaction when the radio is on your character. |
When merged this pull request will: