Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VuhDo
VuhDo
Commits
d5cc08be
Commit
d5cc08be
authored
Jan 04, 2023
by
Ivaria
Browse files
Adjusted Buff Watch setup row auto-wrap max height
parent
70304c22
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
VuhDoOptions/VuhDoBuffWatchSetup.lua
VuhDoOptions/VuhDoBuffWatchSetup.lua
+3
-2
No files found.
VuhDoOptions/VuhDoBuffWatchSetup.lua
View file @
d5cc08be
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment