Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Merathilis
ElvUI_MerathilisUI
Commits
495ff96a
Commit
495ff96a
authored
Sep 07, 2019
by
Merathilis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grab the position for the Difficulty Indicator from the ElvUI options. Add it to my install.
parent
6f63c69e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
ElvUI_MerathilisUI/core/install.lua
ElvUI_MerathilisUI/core/install.lua
+2
-0
ElvUI_MerathilisUI/modules/maps/minimap.lua
ElvUI_MerathilisUI/modules/maps/minimap.lua
+6
-1
No files found.
ElvUI_MerathilisUI/core/install.lua
View file @
495ff96a
...
...
@@ -221,6 +221,8 @@ function MER:SetupLayout()
E
.
db
[
"general"
][
"minimap"
][
"icons"
][
"ticket"
][
"xOffset"
]
=
0
E
.
db
[
"general"
][
"minimap"
][
"icons"
][
"ticket"
][
"yOffset"
]
=
0
E
.
db
[
"general"
][
"minimap"
][
"icons"
][
"ticket"
][
"scale"
]
=
0
.
75
E
.
db
[
"general"
][
"minimap"
][
"icons"
][
"difficulty"
][
"xOffset"
]
=
5
E
.
db
[
"general"
][
"minimap"
][
"icons"
][
"difficulty"
][
"yOffset"
]
=
-
5
E
.
db
[
"general"
][
"minimap"
][
"resetZoom"
][
"enable"
]
=
true
E
.
db
[
"general"
][
"minimap"
][
"resetZoom"
][
"time"
]
=
5
E
.
db
[
"general"
][
"minimap"
][
"size"
]
=
144
...
...
ElvUI_MerathilisUI/modules/maps/minimap.lua
View file @
495ff96a
...
...
@@ -107,7 +107,12 @@ function module:RaidDifficulty()
local
RaidDifficulty
=
CreateFrame
(
'Frame'
,
nil
,
Minimap
)
RaidDifficulty
:
SetSize
(
24
,
8
)
RaidDifficulty
:
SetPoint
(
'TOPLEFT'
,
Minimap
,
'TOPLEFT'
,
5
,
-
5
)
local
pos
=
E
.
db
.
general
.
minimap
.
icons
.
difficulty
.
position
or
"TOPLEFT"
local
x
=
E
.
db
.
general
.
minimap
.
icons
.
difficulty
.
xOffset
or
0
local
y
=
E
.
db
.
general
.
minimap
.
icons
.
difficulty
.
yOffset
or
0
RaidDifficulty
:
SetPoint
(
pos
,
Minimap
,
pos
,
x
,
y
)
RaidDifficulty
:
RegisterEvent
(
'PLAYER_ENTERING_WORLD'
)
RaidDifficulty
:
RegisterEvent
(
'CHALLENGE_MODE_START'
)
RaidDifficulty
:
RegisterEvent
(
'CHALLENGE_MODE_COMPLETED'
)
...
...
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