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
P
ProjectAzilroka
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Azilroka
ProjectAzilroka
Commits
10b2de52
Commit
10b2de52
authored
Oct 19, 2020
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iFilger Enable Fix
parent
56f3d324
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Init.lua
Init.lua
+4
-5
Modules/iFilger.lua
Modules/iFilger.lua
+1
-1
No files found.
Init.lua
View file @
10b2de52
...
...
@@ -114,6 +114,10 @@ local function GetoUF()
end
PA
.
oUF
=
GetoUF
()
PA
.
Classes
=
{}
for
k
,
v
in
pairs
(
LOCALIZED_CLASS_NAMES_MALE
)
do
PA
.
Classes
[
v
]
=
k
end
for
k
,
v
in
pairs
(
LOCALIZED_CLASS_NAMES_FEMALE
)
do
PA
.
Classes
[
v
]
=
k
end
function
PA
:
ClassColorCode
(
class
)
local
color
=
PA
:
GetClassColor
(
PA
.
Classes
[
class
])
return
format
(
'FF%02x%02x%02x'
,
color
.
r
*
255
,
color
.
g
*
255
,
color
.
b
*
255
)
...
...
@@ -126,8 +130,6 @@ end
local
Color
=
PA
:
GetClassColor
(
PA
.
MyClass
)
PA
.
ClassColor
=
{
Color
.
r
,
Color
.
g
,
Color
.
b
}
PA
.
Classes
=
{}
PA
.
ScanTooltip
=
CreateFrame
(
'GameTooltip'
,
'PAScanTooltip'
,
_G
.
UIParent
,
'GameTooltipTemplate'
)
PA
.
ScanTooltip
:
SetOwner
(
_G
.
UIParent
,
"ANCHOR_NONE"
)
...
...
@@ -136,9 +138,6 @@ PA.PetBattleFrameHider:SetAllPoints()
PA
.
PetBattleFrameHider
:
SetFrameStrata
(
'LOW'
)
RegisterStateDriver
(
PA
.
PetBattleFrameHider
,
'visibility'
,
'[petbattle] hide; show'
)
for
k
,
v
in
pairs
(
LOCALIZED_CLASS_NAMES_MALE
)
do
PA
.
Classes
[
v
]
=
k
end
for
k
,
v
in
pairs
(
LOCALIZED_CLASS_NAMES_FEMALE
)
do
PA
.
Classes
[
v
]
=
k
end
function
PA
:
GetUIScale
()
local
effectiveScale
=
_G
.
UIParent
:
GetEffectiveScale
()
local
magic
=
effectiveScale
...
...
Modules/iFilger.lua
View file @
10b2de52
...
...
@@ -801,7 +801,7 @@ function iFilger:GetOptions()
PA.Options.args.iFilger = PA.ACH:Group(iFilger.Title, iFilger.Description, nil, '
tab
')
PA.Options.args.iFilger.args.Description = PA.ACH:Description(iFilger.Description, 0)
PA.Options.args.iFilger.args.Enable = PA.ACH:Toggle(PA.ACL['
Enable
'], nil, 1, nil, nil, nil,
nil
, function(info, value) iFilger.db[info[#info]] = value if (not iFilger.isEnabled) then iFilger:Initialize() else _G.StaticPopup_Show('
PROJECTAZILROKA_RL
') end end)
PA.Options.args.iFilger.args.Enable = PA.ACH:Toggle(PA.ACL['
Enable
'], nil, 1, nil, nil, nil,
function(info) return iFilger.db[info[#info]] end
, function(info, value) iFilger.db[info[#info]] = value if (not iFilger.isEnabled) then iFilger:Initialize() else _G.StaticPopup_Show('
PROJECTAZILROKA_RL
') end end)
PA.Options.args.iFilger.args.AuthorHeader = PA.ACH:Header(PA.ACL['
Authors
:
'], -2)
PA.Options.args.iFilger.args.Authors = PA.ACH:Description(iFilger.Authors, -1, '
large
')
...
...
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