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
A
AllTheIDs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wowui
AllTheIDs
Commits
4b6cb63f
Commit
4b6cb63f
authored
Jul 17, 2018
by
Robin Schoonover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In 8.x, fix map ID display on world map
parent
8145f6db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
Other.lua
Other.lua
+11
-7
No files found.
Other.lua
View file @
4b6cb63f
...
...
@@ -202,12 +202,16 @@ end)
-- World Map
--
hooksecurefunc
(
"WorldMapFrame_UpdateMap"
,
function
()
local
frame
=
WorldMapDetailFrame
local
display
=
frame
.
_alltheid_display
if
not
frame
.
_alltheid_display
then
display
=
frame
:
CreateFontString
(
nil
,
"OVERLAY"
)
frame
.
_alltheid_display
=
display
hooksecurefunc
(
WorldMapFrame
,
"OnMapChanged"
,
function
(
self
)
local
display
=
self
.
_alltheid_display
if
not
self
.
_alltheid_display
then
-- create a frame that sits on top of map
local
displayFrame
=
CreateFrame
(
"FRAME"
,
nil
,
WorldMapFrame
.
ScrollContainer
)
displayFrame
:
SetAllPoints
()
-- create text
display
=
displayFrame
:
CreateFontString
(
nil
,
"OVERLAY"
)
self
.
_alltheid_display
=
display
display
:
SetFontObject
(
GameFontHighlightLeft
)
display
:
SetJustifyH
(
"LEFT"
)
display
:
SetHeight
(
24
)
...
...
@@ -215,5 +219,5 @@ hooksecurefunc("WorldMapFrame_UpdateMap", function()
display
:
SetPoint
(
"BOTTOMLEFT"
)
end
display
:
SetText
(
addon
:
IDLine
(
"Map"
,
GetCurrentMapAreaID
(),
"Continent"
,
GetCurrentMapContinent
()))
display
:
SetText
(
addon
:
IDLine
(
"Map"
,
self
:
GetMapID
()))
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