Skip to content

Commit

Permalink
11.0.0 (55824)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 25, 2024
1 parent 5a34f68 commit 7547929
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ function SetItemButtonQuality(button, quality, itemIDOrLink, suppressOverlays, i
end
end

function GetItemQualityColor(quality)
local function GetButtonOverlayQualityColor(quality)
if not quality or not BAG_ITEM_QUALITY_COLORS[quality] then
quality = Enum.ItemQuality.Common;
end
Expand All @@ -290,7 +290,7 @@ function SetItemButtonOverlay(button, itemIDOrLink, quality, isBound)
button.IconOverlay:SetAtlas("CosmeticIconFrame");
button.IconOverlay:Show();
elseif C_Soulbinds.IsItemConduitByItemInfo(itemIDOrLink) then
local color = GetItemQualityColor(quality);
local color = GetButtonOverlayQualityColor(quality);
button.IconOverlay:SetVertexColor(color.r, color.g, color.b);
button.IconOverlay:SetAtlas("ConduitIconFrame");
button.IconOverlay:Show();
Expand All @@ -301,7 +301,7 @@ function SetItemButtonOverlay(button, itemIDOrLink, quality, isBound)
button.IconOverlay2:Show();
end
elseif C_Item.IsCurioItem(itemIDOrLink) then
local color = GetItemQualityColor(quality);
local color = GetButtonOverlayQualityColor(quality);
button.IconOverlay:SetVertexColor(color.r, color.g, color.b);
button.IconOverlay:SetAtlas("delves-curios-icon-border");
button.IconOverlay:Show();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ local function Register()
local value = index - 1;
local label, isPrimary = GetMonitorName(index);
if (not label) then
label = string.format(VIDEO_OPTIONS_MONITOR, index);
label = string.format(VIDEO_OPTIONS_MONITOR, value);
end
if (isPrimary) then
label = string.format("%s [%s]", label, VIDEO_OPTIONS_MONITOR_PRIMARY);
Expand Down

0 comments on commit 7547929

Please sign in to comment.