A frame's comment names the stock file or 1.12 default its shape follows; a Lua comment stays where the code would otherwise be "fixed". Notes the code contradicts are gone. With XML and Lua comments stripped every file is identical, and each is well-formed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<Ui>
|
|
<!--
|
|
BENILLA_ALLOW_OWN_UI=1. Deviation: over the unedited stock SpellBookFrame.xml, the pet
|
|
page's autocast widgets take the pet bar button's proportions.
|
|
The `$parentAutoCast` shine (UI-AutoCastButton.mdx) is squared on the button, 37x37 at
|
|
CENTER (0,0) and scale 1.48, so its rim runs on the viewport edge at the pet button's
|
|
1.024x and shares the brackets' centre; the reference's is 36x36 at CENTER (1,1), 1.22.
|
|
The corner brackets are 71.53 rather than 60: the art fills 33/64 of
|
|
UI-AutoCastableOverlay.blp, and 71.53 = 37 x 58/30 puts them on the button's corners at
|
|
the pet button's 0.997x. Deleting this file restores the reference's look.
|
|
-->
|
|
<Script><![CDATA[
|
|
for i = 1, 12 do
|
|
local button = getglobal("SpellButton" .. i)
|
|
local overlay = getglobal("SpellButton" .. i .. "AutoCastable")
|
|
overlay:SetWidth(71.53)
|
|
overlay:SetHeight(71.53)
|
|
local pane = getglobal("SpellButton" .. i .. "AutoCast")
|
|
pane:SetWidth(37)
|
|
pane:SetHeight(37)
|
|
pane:ClearAllPoints()
|
|
pane:SetPoint("CENTER", button, "CENTER", 0, 0)
|
|
pane:SetModelScale(1.48)
|
|
end
|
|
]]></Script>
|
|
</Ui>
|