Fixed more bugs on the new Breakdown Window

This commit is contained in:
Tercio Jose
2023-05-01 14:20:04 -03:00
parent 11a6c48ddd
commit 690168bef3
82 changed files with 938 additions and 913 deletions
+5 -5
View File
@@ -12,7 +12,7 @@ local libwindow = LibStub("LibWindow-1.1")
--main frame
local DF = _detalhes.gump
local DF = Details.gump
local _ = nil
--declaration
@@ -28,7 +28,7 @@ local libwindow = LibStub("LibWindow-1.1")
--register to libwindow
local LibWindow = LibStub("LibWindow-1.1")
LibWindow.RegisterConfig(f, _detalhes.benchmark_db.frame)
LibWindow.RegisterConfig(f, Details.benchmark_db.frame)
LibWindow.RestorePosition(f)
LibWindow.MakeDraggable(f)
LibWindow.SavePosition(f)
@@ -46,9 +46,9 @@ local libwindow = LibStub("LibWindow-1.1")
f.Close = CreateFrame("button", "$parentCloseButton", f,"BackdropTemplate")
f.Close:SetPoint("right", f.TitleBar, "right", -2, 0)
f.Close:SetSize(16, 16)
f.Close:SetNormalTexture(_detalhes.gump.folder .. "icons")
f.Close:SetHighlightTexture(_detalhes.gump.folder .. "icons")
f.Close:SetPushedTexture(_detalhes.gump.folder .. "icons")
f.Close:SetNormalTexture(Details.gump.folder .. "icons")
f.Close:SetHighlightTexture(Details.gump.folder .. "icons")
f.Close:SetPushedTexture(Details.gump.folder .. "icons")
f.Close:GetNormalTexture():SetTexCoord(0, 16/128, 0, 1)
f.Close:GetHighlightTexture():SetTexCoord(0, 16/128, 0, 1)
f.Close:GetPushedTexture():SetTexCoord(0, 16/128, 0, 1)