fix: v1.4.4 - AceGUI pool fixes, event handling nil checks, QuestieLearner serialization, l10n format fixes
This commit is contained in:
@@ -187,7 +187,12 @@ local function Constructor()
|
||||
|
||||
local scrollbg = scrollbar:CreateTexture(nil, "BACKGROUND")
|
||||
scrollbg:SetAllPoints(scrollbar)
|
||||
scrollbg:SetColorTexture(0, 0, 0, 0.4)
|
||||
if scrollbg.SetColorTexture then
|
||||
scrollbg:SetColorTexture(0, 0, 0, 0.4)
|
||||
else
|
||||
scrollbg:SetTexture(0, 0, 0)
|
||||
scrollbg:SetVertexColor(0, 0, 0, 0.4)
|
||||
end
|
||||
|
||||
--Container Support
|
||||
local content = CreateFrame("Frame", nil, scrollframe)
|
||||
|
||||
@@ -679,7 +679,12 @@ local function Constructor()
|
||||
|
||||
local scrollbg = scrollbar:CreateTexture(nil, "BACKGROUND")
|
||||
scrollbg:SetAllPoints(scrollbar)
|
||||
scrollbg:SetColorTexture(0,0,0,0.4)
|
||||
if scrollbg.SetColorTexture then
|
||||
scrollbg:SetColorTexture(0,0,0,0.4)
|
||||
else
|
||||
scrollbg:SetTexture(0, 0, 0)
|
||||
scrollbg:SetVertexColor(0, 0, 0, 0.4)
|
||||
end
|
||||
|
||||
local border = CreateFrame("Frame", nil, frame, BackdropTemplateMixin and "BackdropTemplate" or nil)
|
||||
border:SetPoint("TOPLEFT", treeframe, "TOPRIGHT")
|
||||
|
||||
@@ -143,7 +143,12 @@ local function Constructor()
|
||||
colorSwatch.background = texture
|
||||
texture:SetWidth(16)
|
||||
texture:SetHeight(16)
|
||||
texture:SetColorTexture(1, 1, 1)
|
||||
if texture.SetColorTexture then
|
||||
texture:SetColorTexture(1, 1, 1)
|
||||
else
|
||||
texture:SetTexture(1, 1, 1)
|
||||
texture:SetVertexColor(1, 1, 1, 1)
|
||||
end
|
||||
texture:SetPoint("CENTER", colorSwatch)
|
||||
texture:Show()
|
||||
|
||||
|
||||
@@ -455,7 +455,12 @@ do
|
||||
|
||||
local line = self.frame:CreateTexture(nil, "OVERLAY")
|
||||
line:SetHeight(1)
|
||||
line:SetColorTexture(.5, .5, .5)
|
||||
if line.SetColorTexture then
|
||||
line:SetColorTexture(0.5, 0.5, 0.5)
|
||||
else
|
||||
line:SetTexture(0.5, 0.5, 0.5)
|
||||
line:SetVertexColor(0.5, 0.5, 0.5, 1)
|
||||
end
|
||||
line:SetPoint("LEFT", self.frame, "LEFT", 10, 0)
|
||||
line:SetPoint("RIGHT", self.frame, "RIGHT", -10, 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user