Mercurial > wow > askmrrobot
diff ui/AmrUiTextButton.lua @ 81:0515882856f1 v38
updated for 7.0
author | yellowfive |
---|---|
date | Tue, 19 Jul 2016 10:05:32 -0700 |
parents | 01b63b8ed811 |
children | 57c6cac5143c |
line wrap: on
line diff
--- a/ui/AmrUiTextButton.lua Tue Apr 05 16:19:31 2016 -0700 +++ b/ui/AmrUiTextButton.lua Tue Jul 19 10:05:32 2016 -0700 @@ -78,7 +78,7 @@ end, ["SetBackgroundColor"] = function(self, color, alpha) - self.bg:SetTexture(color.R, color.G, color.B, alpha) + self.bg:SetColorTexture(color.R, color.G, color.B, alpha) end, ["SetBackgroundImage"] = function(self, image) @@ -87,7 +87,7 @@ end, ["SetHoverBackgroundColor"] = function(self, color, alpha) - self.hover:SetTexture(color.R, color.G, color.B, alpha) + self.hover:SetColorTexture(color.R, color.G, color.B, alpha) end, ["SetHoverBackgroundImage"] = function(self, image)