Fixed an error while trying to move the window by clicking and holding on a window line

This commit is contained in:
Tercio Jose
2022-10-09 20:48:47 -03:00
parent 944178f76f
commit b588d5e30c
95 changed files with 1630 additions and 1662 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ function Details:OpenProfiler()
else
--check is this is the first run of the addon (after being installed)
local amount = 0
for name, profile in pairs (_detalhes_global.__profiles) do
for name, profile in pairs(_detalhes_global.__profiles) do
amount = amount + 1
end
if (amount == 1) then
@@ -80,7 +80,7 @@ function Details:OpenProfiler()
end
f:Hide()
end
local confirm = Details.gump:NewButton (f, f, "DetailsProfilerProfileConfirmButton", "button", 150, 20, confirm_func, nil, nil, nil, "Okey!")
local confirm = Details.gump:NewButton(f, f, "DetailsProfilerProfileConfirmButton", "button", 150, 20, confirm_func, nil, nil, nil, "Okey!")
confirm:SetPoint(50, -250)
confirm:InstallCustomTexture()
end