-
Notifications
You must be signed in to change notification settings - Fork 151
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
Keybinding - Highlight individual duplicate keys #972
Conversation
addons/keybinding/fnc_gui_update.sqf
Outdated
|
||
_keyNames pushBack _keyName; | ||
_keybind in _duplicateKeybinds && {_action != _duplicateAction} | ||
} > -1) then { |
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.
Very cool. Apparently Travis doesn't understand if findIf
.
addons/keybinding/fnc_gui_update.sqf
Outdated
_assigned ctrlSetTextColor [1,0,0,1]; | ||
}; | ||
_assigned ctrlSetTooltipColorBox [1,1,1,1]; | ||
_assigned ctrlSetTooltipColorShade [0,0,0,0.7]; |
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.
These already were the values used I believe. Although setting them explicitly may be more robust if future changes happen (e.g. by BI).
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.
RscStructuredText
, unlike RscText
, has no entries for tooltip defined, and the defaults look different to these. Should probably just move these to config though.
Fixed for the code validation. |
When merged this pull request will:
_edit
and_assigned