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:
@@ -105,11 +105,11 @@ local function UpdateButton(button, treeline, selected, canExpand, isExpanded)
|
||||
|
||||
if canExpand then
|
||||
if not isExpanded then
|
||||
toggle:SetNormalTexture(130838) -- Interface\\Buttons\\UI-PlusButton-UP
|
||||
toggle:SetPushedTexture(130836) -- Interface\\Buttons\\UI-PlusButton-DOWN
|
||||
toggle:SetNormalTexture("Interface\\Buttons\\UI-PlusButton-UP")
|
||||
toggle:SetPushedTexture("Interface\\Buttons\\UI-PlusButton-DOWN")
|
||||
else
|
||||
toggle:SetNormalTexture(130821) -- Interface\\Buttons\\UI-MinusButton-UP
|
||||
toggle:SetPushedTexture(130820) -- Interface\\Buttons\\UI-MinusButton-DOWN
|
||||
toggle:SetNormalTexture("Interface\\Buttons\\UI-MinusButton-UP")
|
||||
toggle:SetPushedTexture("Interface\\Buttons\\UI-MinusButton-DOWN")
|
||||
end
|
||||
toggle:Show()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user