mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
E:Point, E:Size, E:Width, E:Height, & cleanup
This commit is contained in:
@@ -16,8 +16,8 @@ function LoadSkin()
|
||||
E:StripTextures(PetStableFrame)
|
||||
E:Kill(PetStableFramePortrait)
|
||||
E:CreateBackdrop(PetStableFrame, "Transparent")
|
||||
PetStableFrame.backdrop:SetPoint("TOPLEFT", 10, -11)
|
||||
PetStableFrame.backdrop:SetPoint("BOTTOMRIGHT", -32, 71)
|
||||
E:Point(PetStableFrame.backdrop, "TOPLEFT", 10, -11)
|
||||
E:Point(PetStableFrame.backdrop, "BOTTOMRIGHT", -32, 71)
|
||||
|
||||
S:HandleButton(PetStablePurchaseButton)
|
||||
S:HandleCloseButton(PetStableFrameCloseButton)
|
||||
@@ -35,8 +35,7 @@ function LoadSkin()
|
||||
PetStablePetInfo:GetRegions():SetTexCoord(0.04, 0.15, 0.06, 0.30)
|
||||
PetStablePetInfo:SetFrameLevel(PetModelFrame:GetFrameLevel() + 2)
|
||||
E:CreateBackdrop(PetStablePetInfo, "Default")
|
||||
PetStablePetInfo:SetWidth(24)
|
||||
PetStablePetInfo:SetHeight(24)
|
||||
E:Size(PetStablePetInfo, 24)
|
||||
|
||||
hooksecurefunc("PetStable_Update", function()
|
||||
local happiness = GetPetHappiness()
|
||||
|
||||
Reference in New Issue
Block a user