View Single Post
Unread 05-02-11, 06:36 PM   #1
Thrashfinger
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 6
Gatherer "Show/Hide Items" button + MozzFullWorldMap "Show Unexplored Areas" checkbox

===============================================================================
Gatherer's "Show/Hide Items" button effectively obscures
MozzFullWorldMap's "Show Unexplored Areas" checkbox
FIX for MozzFullWorldMap v3.36
===============================================================================
* Works with WoW v4.1.0 and Gatherer v3.2.3 and MozzFullWorldMap v3.36. *

When both addons are used together, Gatherer's "Show/Hide Items" button partially
obscures MozzFullWorldMap's "Show Unexplored Areas" checkbox. The following code
modification should resolve this specific issue when using Gatherer and
MozzFullWorldMap together by anchoring MozzFullWorldMap's "Show Unexplored Areas"
checkbox to Gatherer's "Show/Hide Items" button, if it exists.

Open the MozzFullWorldMap.lua file, found at:
(WindowsXP default location)
C:\Program Files\World of Warcraft\Interface\AddOns\MozzFullWorldMap\MozzFullWorldMap.lua

Replace function Mozz_AnchorMapOptions() with the following function code.
(Lines starting at 704 through 712.)

From:
-------------------------------------------------------------------
Code:
function Mozz_AnchorMapOptions()

	if ( WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE ) then
		MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 20, -12.5 );
	else	
		MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 5, 0 );
	end
	
end
-------------------------------------------------------------------
To:
-------------------------------------------------------------------
Code:
function Mozz_AnchorMapOptions()

	if ( WORLDMAP_SETTINGS.size == WORLDMAP_WINDOWED_SIZE ) then
		if ( Gatherer_WorldMapDisplay ) then
			MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", Gatherer_WorldMapDisplay, "TOPRIGHT", 5, 3 );
		else
			MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 20, -12.5 );
		end
	else
		if ( Gatherer_WorldMapDisplay ) then
			MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", Gatherer_WorldMapDisplay, "TOPRIGHT", 5, 3 );
		else
			MozzWorldMapShowAllCheckButton:SetPoint( "TOPLEFT", WorldMapPositioningGuide, "TOPLEFT", 5, 0 );
		end
	end

end
-------------------------------------------------------------------
Save the file. Run the game. Your mileage may vary, but probably won't.
Thrashfinger is offline