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
omicron
VuhDo
Commits
27cfe2e6
Commit
27cfe2e6
authored
10 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Properly decorate edit box text for 'Spells > Keys global'
parent
422d77c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
VuhDoBarCustomizerHots.lua
VuhDoBarCustomizerHots.lua
+4
-4
VuhDoOptions/VuhDoNewOptionsSpellKeys.lua
VuhDoOptions/VuhDoNewOptionsSpellKeys.lua
+6
-1
No files found.
VuhDoBarCustomizerHots.lua
View file @
27cfe2e6
...
...
@@ -480,14 +480,14 @@ local tTalentRampantGrowthSpellId;
local
tIsTalentSelected
;
function
VUHDO_hasTalentRampantGrowth
()
if
"DRUID"
~=
VUHDO_PLAYER_CLASS
then
return
false
return
false
;
end
tTalentRampantGrowthSpellId
=
155834
tTalentRampantGrowthSpellId
=
155834
;
_
,
_
,
_
,
tIsTalentSelected
,
_
=
GetTalentInfoById
(
tTalentRampantGrowthSpellId
)
_
,
_
,
_
,
tIsTalentSelected
,
_
=
GetTalentInfoById
(
tTalentRampantGrowthSpellId
)
;
return
tIsTalentSelected
return
tIsTalentSelected
;
end
--
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsSpellKeys.lua
View file @
27cfe2e6
...
...
@@ -2,10 +2,15 @@
--
function
VUHDO_newOptionsSpellEditBoxSpellId
(
anEditBox
)
if
(
VUHDO_isSpellKnown
(
anEditBox
:
GetText
()))
then
local
tText
,
tR
,
tG
,
tB
=
VUHDO_isActionValid
(
anEditBox
:
GetText
(),
anIsCustom
);
local
tLabel
=
_G
[
anEditBox
:
GetName
()
..
"Hint"
];
if
(
tText
~=
nil
)
then
anEditBox
:
SetTextColor
(
1
,
1
,
1
,
1
);
tLabel
:
SetText
(
tText
);
tLabel
:
SetTextColor
(
tR
,
tG
,
tB
,
1
);
else
anEditBox
:
SetTextColor
(
0
.
8
,
0
.
8
,
1
,
1
);
tLabel
:
SetText
(
""
);
end
end
This diff is collapsed.
Click to expand it.
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