Mercurial > wow > reaction
comparison classes/PetActionButton.lua @ 142:b68be4b6d129
Fixed pet bar normal texture size
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Mon, 13 Apr 2009 20:51:57 +0000 |
parents | 16048f516f5e |
children | d2f289c3bae6 |
comparison
equal
deleted
inserted
replaced
141:0de0e64a970f | 142:b68be4b6d129 |
---|---|
82 cd:SetHeight(33) | 82 cd:SetHeight(33) |
83 cd:SetPoint("CENTER", f, "CENTER", -2, -1) | 83 cd:SetPoint("CENTER", f, "CENTER", -2, -1) |
84 -- resize to 30x30 | 84 -- resize to 30x30 |
85 f:SetHeight(30) | 85 f:SetHeight(30) |
86 f:SetWidth(30) | 86 f:SetWidth(30) |
87 local nt = _G[name.."NormalTexture"] | |
88 nt:SetHeight(54) | |
89 nt:SetWidth(54) | |
87 end | 90 end |
88 local barFrame = bar:GetFrame() | 91 local barFrame = bar:GetFrame() |
89 | 92 |
90 -- set up the base action ID | 93 -- set up the base action ID |
91 self:SetActionIDPool("pet",10) | 94 self:SetActionIDPool("pet",10) |