We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4897ced commit acff781Copy full SHA for acff781
KeyUI.lua
@@ -786,7 +786,7 @@ function addon:SetKey(button)
786
787
-- Calculate the maximum allowed characters based on button width
788
local max_allowed_chars = math.floor(button:GetWidth() / 9)
789
- local combined_text = button.short_key:GetText() or "" -- Use empty string if GetText() returns nil
+ local combined_text = button.short_key:GetText() or "" -- Combined text with modifiers if present / Use empty string if GetText() returns nil
790
791
-- Use Condensed font if the combined text exceeds max_allowed_chars
792
if string.len(combined_text) > max_allowed_chars then
0 commit comments