Mercurial > wow > askmrrobot
diff ui/AmrUiFrame.lua @ 61:cf2b6b9a8337 v23
6.2 update, shopping list bug fixes, ui scale option
author | yellowfive |
---|---|
date | Tue, 23 Jun 2015 00:27:21 -0700 |
parents | 01b63b8ed811 |
children | 69db1c3025ac |
line wrap: on
line diff
--- a/ui/AmrUiFrame.lua Sun Jun 07 15:20:25 2015 -0700 +++ b/ui/AmrUiFrame.lua Tue Jun 23 00:27:21 2015 -0700 @@ -56,6 +56,7 @@ self:SetAutoAdjustHeight(false) self.frame:SetParent(UIParent) self.frame:SetFrameStrata("FULLSCREEN_DIALOG") + self.frame:SetScale(1) self:ApplyStatus() self:Show() end, @@ -125,6 +126,10 @@ ["OnHeightSet"] = function(self, height) local content = self.content content.height = height + end, + + ["SetScale"] = function(self, scale) + self.frame:SetScale(scale) end }