Skip to content

Commit

Permalink
1.0.36-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Jul 24, 2024
1 parent aa81e72 commit c9ed64c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. Be aware th
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.36-Release] 2024-07-24
- Updated for WoW Retail Client Patch 11.0.0.

## [1.0.35-Release] 2024-07-10
- Updated for WoW Retail Client Patch 10.2.7.

Expand Down
9 changes: 6 additions & 3 deletions MapShrinker/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,12 @@ Private.SetUpMap = function(self)
hooksecurefunc(WorldMapFrame, "SynchronizeDisplayState", WorldMapFrame_SyncState)
hooksecurefunc(WorldMapFrame, "UpdateMaximizedSize", WorldMapFrame_UpdateMaximizedSize)

WorldMapFrameButton:UnregisterAllEvents()
WorldMapFrameButton:SetParent(Private.UIHider)
WorldMapFrameButton:Hide()
-- Button removed in WoW Retail 11.0.0.
if (WorldMapFrameButton) then
WorldMapFrameButton:UnregisterAllEvents()
WorldMapFrameButton:SetParent(Private.UIHider)
WorldMapFrameButton:Hide()
end

if (WorldMapFrame:IsMaximized()) then
WorldMapFrame_UpdateMaximizedSize()
Expand Down

0 comments on commit c9ed64c

Please sign in to comment.