Skip to content

Commit

Permalink
Update to HereBeDragons 2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludovicus-Maior committed Jul 12, 2023
1 parent ce20a4d commit da2cfdf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
17 changes: 12 additions & 5 deletions WoWPro/Libraries/HereBeDragons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Lib: HereBeDragons

## [2.12-release](https://github.com/Nevcairiel/HereBeDragons/tree/2.12-release) (2022-11-16)
[Full Changelog](https://github.com/Nevcairiel/HereBeDragons/compare/2.11-release...2.12-release) [Previous Releases](https://github.com/Nevcairiel/HereBeDragons/releases)
## [2.13-release](https://github.com/Nevcairiel/HereBeDragons/tree/2.13-release) (2023-07-12)
[Full Changelog](https://github.com/Nevcairiel/HereBeDragons/compare/2.12-release...2.13-release) [Previous Releases](https://github.com/Nevcairiel/HereBeDragons/releases)

- Update TOC for 10.0.2
- Remove support for WoW 10.0.0 (only 10.0.2 is supported on retail now)
- Handle World Map data differences between 10.0.0 and 10.0.2
- Update TOC for 10.1.5
- HBD-Pins-2.0: Hack around combat limitations in 10.1.5
SetPassThroughButtons can no longer be called in combat, but we allow
creating pins at any time during play. Until such a point when this is
fixed by Blizzard, noop out the function so that creating pins no longer
errors.
This function is called on the pin by Blizzards pin handler, which is of
course insecure on addon-created pins.
- Update TOC for 10.1
- Update TOC for 10.0.7
5 changes: 4 additions & 1 deletion WoWPro/Libraries/HereBeDragons/HereBeDragons-Pins-2.0.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- HereBeDragons-Pins is a library to show pins/icons on the world map and minimap

local MAJOR, MINOR = "HereBeDragons-Pins-2.0", 11
local MAJOR, MINOR = "HereBeDragons-Pins-2.0", 12
assert(LibStub, MAJOR .. " requires LibStub")

local pins, _oldversion = LibStub:NewLibrary(MAJOR, MINOR)
Expand Down Expand Up @@ -464,6 +464,9 @@ function worldmapProviderPin:OnReleased()
end
end

-- hack to avoid in-combat error on 10.1.5
worldmapProviderPin.SetPassThroughButtons = function() end

-- register with the world map
WorldMapFrame:AddDataProvider(worldmapProvider)

Expand Down

0 comments on commit da2cfdf

Please sign in to comment.