Skip to content

Commit

Permalink
11.0.5 (57292)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 29, 2024
1 parent 0988277 commit 0290545
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Title: Blizzard_Deprecated_ArenaUI
## Author: Blizzard Entertainment
## DefaultState: enabled
## Dependencies: Blizzard_UnitFrame
## Dependencies: Blizzard_UnitFrame, Blizzard_DurabilityFrame
## AllowLoad: Game
Deprecated_ArenaUI.xml
10 changes: 10 additions & 0 deletions Interface/AddOns/Blizzard_GroupFinder/Mainline/LFDFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,16 @@ function LFDQueueFrame_SetType(value)
LFDQueueFrame.TypeDropdown:GenerateMenu();
end

local function ResetLFDBackgroundToDefaultSizing()
LFDQueueFrameBackground:ClearAllPoints();
LFDQueueFrameBackground:SetWidth(512);
LFDQueueFrameBackground:SetHeight(256);
LFDQueueFrameBackground:SetPoint("BOTTOMLEFT", LFDQueueFrameBackground:GetParent(), "BOTTOMLEFT", 6, 26);
end

function LFDQueueFrame_SetTypeRandomDungeon(hideCooldown)
LFDQueueFrameBackground:SetTexture("Interface\\LFGFrame\\UI-LFG-BACKGROUND-QUESTPAPER")
ResetLFDBackgroundToDefaultSizing();
LFDQueueFrameSpecific:Hide();
LFDQueueFrameFollower:Hide();
LFDQueueFrameRandom:Show();
Expand All @@ -510,6 +518,7 @@ end

function LFDQueueFrame_SetTypeSpecificDungeon()
LFDQueueFrameBackground:SetTexture("Interface\\LFGFrame\\UI-LFG-BACKGROUND-DUNGEONWALL");
ResetLFDBackgroundToDefaultSizing();
LFDQueueFrameRandom:Hide();
LFDQueueFrameFollower:Hide();
LFDQueueFrameSpecific:Show();
Expand All @@ -518,6 +527,7 @@ end

function LFDQueueFrame_SetTypeFollowerDungeon()
LFDQueueFrameBackground:SetTexture("Interface\\LFGFrame\\UI-LFG-BACKGROUND-DUNGEONWALL");
ResetLFDBackgroundToDefaultSizing();
LFDQueueFrameRandom:Hide();
LFDQueueFrameSpecific:Hide();
LFDQueueFrameFollower:Show();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,18 +387,19 @@ function ProfessionsCrafterTableCellItemNameMixin:Populate(rowData, dataIndex)

local item;

local baseItemID = order.itemID;
if order.reagents and #order.reagents > 0 then
-- Customer provided finishing reagents can alter the quality of the output item.
-- Calculate the exact item output based on these reagents so that quality is correct.
local transaction = ProfessionsUtil.CreateProfessionsRecipeTransactionFromCraftingOrder(order);
local outputItemInfo = C_TradeSkillUI.GetRecipeOutputItemData(transaction:GetRecipeID(), transaction:CreateCraftingReagentInfoTbl());
item = Item:CreateFromItemLink(outputItemInfo.hyperlink);
else
item = Item:CreateFromItemID(order.itemID);
item = Item:CreateFromItemID(baseItemID);
end

item:ContinueOnItemLoad(function()
if item:GetItemID() ~= self.rowData.option.itemID then
if baseItemID ~= self.rowData.option.itemID then
-- Callback from a previous async request
return;
end
Expand Down

0 comments on commit 0290545

Please sign in to comment.