Merge remote-tracking branch 'fork/master'
This commit is contained in:
@@ -825,4 +825,18 @@ detailsFramework.StatusBarFunctions = {
|
||||
GetBorderColor = function(self)
|
||||
return
|
||||
end,
|
||||
}
|
||||
|
||||
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--frame mixin
|
||||
local createTexture = CreateFrame('Frame').CreateTexture -- need a local "original" CreateFrame
|
||||
|
||||
detailsFramework.FrameFunctions = {
|
||||
CreateTexture = function(self, name, drawLayer, templateName, subLevel)
|
||||
local texture = createTexture(self, name, drawLayer, templateName, subLevel)
|
||||
-- pixel perfection
|
||||
texture:SetTexelSnappingBias(0)
|
||||
texture:SetSnapToPixelGrid(false)
|
||||
return texture
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user