Commit d5cc08be authored by Ivaria's avatar Ivaria
Browse files

Adjusted Buff Watch setup row auto-wrap max height

parent 70304c22
......@@ -6,7 +6,7 @@ local VUHDO_BUFF_PANEL_WIDTH;
local VUHDO_BUFF_PANEL_HEIGHT;
local VUHDO_PANEL_INSET_X = 10;
local VUHDO_PANEL_INSET_Y = 10;
local VUHDO_PANEL_MAX_HEIGHT = 580;
local VUHDO_PANEL_MAX_HEIGHT = 435;
local BUFF_PANEL_BASE_HEIGHT = nil;
......@@ -68,12 +68,13 @@ end
--
local function VUHDO_buffSetupNewRowCheck(aWidth, anAddHeight)
if (VUHDO_BUFF_PANEL_Y > VUHDO_BUFF_PANEL_HEIGHT) then
VUHDO_BUFF_PANEL_HEIGHT = VUHDO_BUFF_PANEL_Y;
end
if (VUHDO_BUFF_PANEL_Y + anAddHeight > VUHDO_PANEL_MAX_HEIGHT) then
VUHDO_BUFF_PANEL_X = VUHDO_BUFF_PANEL_X + aWidth;
VUHDO_BUFF_PANEL_X = VUHDO_BUFF_PANEL_X + aWidth;
VUHDO_BUFF_PANEL_Y = VUHDO_PANEL_INSET_Y;
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment