fix(compat): convert FileDataID Set*Texture() calls to string paths
WoW 3.3.5 / CoA does not support numeric FileDataIDs in Set(*)Texture — only string paths. Upstream Ace3 uses FDIDs in 42 places across AceGUI-3.0/widgets and AceConfigDialog-3.0, which silently fail and render as red placeholders (visible as solid-red squares where color swatches, checkboxes, and window chrome should be). Substituted each FDID with the string path documented in the trailing comment. Files touched: AceGUI-3.0/widgets/AceGUIContainer-Frame.lua (5) AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua (4) AceGUI-3.0/widgets/AceGUIContainer-Window.lua (12) AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua (9) AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua (3) AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua (3) AceGUI-3.0/widgets/AceGUIWidget-Heading.lua (2) AceGUI-3.0/widgets/AceGUIWidget-Icon.lua (1) AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua (3) Documented as patch #1 in README.md.
This commit is contained in:
@@ -51,14 +51,14 @@ local function Constructor()
|
||||
left:SetHeight(8)
|
||||
left:SetPoint("LEFT", 3, 0)
|
||||
left:SetPoint("RIGHT", label, "LEFT", -5, 0)
|
||||
left:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
||||
left:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||
left:SetTexCoord(0.81, 0.94, 0.5, 1)
|
||||
|
||||
local right = frame:CreateTexture(nil, "BACKGROUND")
|
||||
right:SetHeight(8)
|
||||
right:SetPoint("RIGHT", -3, 0)
|
||||
right:SetPoint("LEFT", label, "RIGHT", 5, 0)
|
||||
right:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
||||
right:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||
right:SetTexCoord(0.81, 0.94, 0.5, 1)
|
||||
|
||||
local widget = {
|
||||
|
||||
Reference in New Issue
Block a user