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
359d2fda
Commit
359d2fda
authored
Nov 06, 2022
by
Ivaria
Browse files
Fixed visibility of empty panels containing only target/focus models
parent
b5abe1f0
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
VuhDoGuiToolbox.lua
VuhDoGuiToolbox.lua
+8
-2
VuhDoPanelRedraw.lua
VuhDoPanelRedraw.lua
+8
-0
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoGuiToolbox.lua
View file @
359d2fda
...
...
@@ -77,9 +77,15 @@ local function VUHDO_hasPanelVisibleButtons(aPanelNum)
else
for
_
,
tButton
in
pairs
(
VUHDO_getPanelButtons
(
aPanelNum
))
do
tUnit
=
tButton
:
GetAttribute
(
"unit"
);
if
not
tUnit
then
return
false
;
elseif
UnitExists
(
tUnit
)
then
return
true
;
end
if
not
tUnit
then
return
false
;
elseif
UnitExists
(
tUnit
)
then
return
true
;
end
end
return
false
;
end
end
...
...
VuhDoPanelRedraw.lua
View file @
359d2fda
...
...
@@ -110,6 +110,14 @@ function VUHDO_isPanelVisible(aPanelNum)
return
true
;
end
if
VUHDO_isModelInPanel
(
aPanelNum
,
82
)
then
-- VUHDO_ID_TARGET
return
true
;
end
if
VUHDO_isModelInPanel
(
aPanelNum
,
83
)
then
-- VUHDO_ID_FOCUS
return
true
;
end
if
VUHDO_isModelInPanel
(
aPanelNum
,
44
)
then
-- VUHDO_ID_BOSSES
return
true
;
end
...
...
changelog.txt
View file @
359d2fda
...
...
@@ -13,6 +13,7 @@ Known issues:
Bugfixes:
-- Fixed visibility of empty panels containing only target/focus models
Improvements:
...
...
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