diff --git a/modules/HolyPower.lua b/modules/HolyPower.lua index dd7defa..46dd173 100644 --- a/modules/HolyPower.lua +++ b/modules/HolyPower.lua @@ -36,6 +36,27 @@ function HolyPower.prototype:init() end end +function HolyPower.prototype:SetDisplayMode() + local updated = false + if self.moduleSettings.runeMode == "Graphical" then + if self.runeHeight ~= 22 then + self.runeHeight = 22 + updated = true + end + else + if self.runeHeight ~= self.runeWidth then + self.runeHeight = self.runeWidth + updated = true + end + end + + if updated then + self:CreateRuneFrame() + end + + HolyPower.super.prototype.SetDisplayMode(self) +end + function HolyPower.prototype:GetOptions() local opts = HolyPower.super.prototype.GetOptions(self)