fix: remove mailbox icon from bankframe

This commit is contained in:
Salikh Gurgenidze
2025-12-28 01:56:03 +04:00
parent 8c507b34e7
commit 6888e91cbc
-46
View File
@@ -107,52 +107,6 @@
</Scripts>
</Button>
<!-- Mail Button (header right, next to sort) -->
<Button name="$parent_MailButton">
<Size>
<AbsDimension x="24" y="24"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parent_SortButton">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parent_Icon">
<Size>
<AbsDimension x="20" y="20"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Color r="0.8" g="0.8" b="0.8"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
local icon = getglobal(this:GetName().."_Icon")
if icon then
icon:SetTexture("Interface\\AddOns\\Guda\\Assets\\Envelope")
end
</OnLoad>
<OnClick>
Guda_MailboxFrame:Toggle()
</OnClick>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_TOP")
GameTooltip:SetText("View Mailbox")
GameTooltip:Show()
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
</Scripts>
</Button>
<!-- Settings Button (header right, next to close) -->
<Button name="$parent_SettingsButton">
<Size>