mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Updated non-'graphical' display modes for holy power to not squish the icons.
This commit is contained in:
@ -36,6 +36,27 @@ function HolyPower.prototype:init()
|
|||||||
end
|
end
|
||||||
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()
|
function HolyPower.prototype:GetOptions()
|
||||||
local opts = HolyPower.super.prototype.GetOptions(self)
|
local opts = HolyPower.super.prototype.GetOptions(self)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user