mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-12 08:30:00 +00:00
core: remove leftover semicolons
This commit is contained in:
+2
-2
@@ -249,14 +249,14 @@ function pfUI.api.GetItemCount(itemName)
|
||||
local count = 0
|
||||
for bag = 4, 0, -1 do
|
||||
for slot = 1, GetContainerNumSlots(bag) do
|
||||
local _, itemCount = GetContainerItemInfo(bag, slot);
|
||||
local _, itemCount = GetContainerItemInfo(bag, slot)
|
||||
if itemCount then
|
||||
local itemLink = GetContainerItemLink(bag,slot)
|
||||
local _, _, itemParse = strfind(itemLink, "(%d+):")
|
||||
local queryName = GetItemInfo(itemParse)
|
||||
if queryName and queryName ~= "" then
|
||||
if queryName == itemName then
|
||||
count = count + itemCount;
|
||||
count = count + itemCount
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
+5
-5
@@ -709,13 +709,13 @@ function pfUI.api.SkinRotateButton(button)
|
||||
button:SetWidth(button:GetWidth() - 18)
|
||||
button:SetHeight(button:GetHeight() - 18)
|
||||
|
||||
button:GetNormalTexture():SetTexCoord(0.3, 0.29, 0.3, 0.65, 0.69, 0.29, 0.69, 0.65);
|
||||
button:GetPushedTexture():SetTexCoord(0.3, 0.29, 0.3, 0.65, 0.69, 0.29, 0.69, 0.65);
|
||||
button:GetNormalTexture():SetTexCoord(0.3, 0.29, 0.3, 0.65, 0.69, 0.29, 0.69, 0.65)
|
||||
button:GetPushedTexture():SetTexCoord(0.3, 0.29, 0.3, 0.65, 0.69, 0.29, 0.69, 0.65)
|
||||
|
||||
button:GetHighlightTexture():SetTexture(cr, cg, cb, .25);
|
||||
button:GetHighlightTexture():SetTexture(cr, cg, cb, .25)
|
||||
|
||||
button:GetPushedTexture():SetAllPoints(button:GetNormalTexture());
|
||||
button:GetHighlightTexture():SetAllPoints(button:GetNormalTexture());
|
||||
button:GetPushedTexture():SetAllPoints(button:GetNormalTexture())
|
||||
button:GetHighlightTexture():SetAllPoints(button:GetNormalTexture())
|
||||
end
|
||||
|
||||
-- [ Skin Close Button ]
|
||||
|
||||
Reference in New Issue
Block a user