Skip to content

Commit

Permalink
The 085 release of Wholly.
Browse files Browse the repository at this point in the history
  • Loading branch information
smaitch committed Nov 7, 2021
1 parent 6ee7ff8 commit 40716c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Wholly-BCC.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 20501
## Interface: 20502
## Title: Wholly
## Author: Scott M Harrison
## Notes: Shows quest database and map pins
## Version: 084
## Version: 085
## Dependencies: Grail
## OptionalDeps: LibStub, LibDataBroker, TomTom, Gatherer, Questie
## SavedVariablesPerCharacter: WhollyDatabase
Expand Down
4 changes: 2 additions & 2 deletions Wholly-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 11307
## Interface: 11400
## Title: Wholly
## Author: Scott M Harrison
## Notes: Shows quest database and map pins
## Version: 084
## Version: 085
## Dependencies: Grail
## OptionalDeps: LibStub, LibDataBroker, TomTom, Gatherer, Questie
## SavedVariablesPerCharacter: WhollyDatabase
Expand Down
4 changes: 3 additions & 1 deletion Wholly.lua
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@
-- Transforms the Wholly map button into one with just "W" and puts it at the top left of the map.
-- Reintroduces some ability to filter Blizzard map pins in Retail.
-- Changes retail interface to 90100.
-- 085 Updates _OnUpdate to ensure coordinates are returned before updating locations.
-- Changes retail interface to 90105, BCC to 20502 and Classic to 11400.
--
-- Known Issues
--
Expand Down Expand Up @@ -2640,7 +2642,7 @@ WorldMapFrame:AddDataProvider(self.mapPinsProvider)
self.lastUpdate = self.lastUpdate + elapsed
if self.lastUpdate < self.updateThreshold then return end
local x, y = Grail.GetPlayerMapPosition('player')
if self.previousX ~= x or self.previousY ~= y then
if x and y and (self.previousX ~= x or self.previousY ~= y) then
if nil ~= self.coordinates then
self.coordinates.text = strformat("%.2f, %.2f", x * 100, y * 100)
end
Expand Down
4 changes: 2 additions & 2 deletions Wholly.toc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Interface: 90100
## Interface: 90105
## Title: Wholly
## Author: Scott M Harrison
## Notes: Shows quest database and map pins
## Version: 084
## Version: 085
## Dependencies: Grail
## OptionalDeps: LibStub, LibDataBroker, TomTom, Gatherer, Questie
## SavedVariablesPerCharacter: WhollyDatabase
Expand Down

0 comments on commit 40716c9

Please sign in to comment.