Quantcast
WoWInterface - View Single Post - 5.3 Affect on nUI 5
View Single Post
05-21-13, 02:55 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,510
Okay, looks like they made a change with the check box option on the world map ( in full screen map version only - at least now ).

WorldMapFrame.lua - 5.2.0
Code:
221.   WatchFrame.showObjectives = WorldMapQuestShowObjectives:GetChecked();
WorldMapFrame.lua - 5.3.0
Code:
239.  if (GetCVarBool("questPOI") > 0) then
240.    WatchFrame.showObjectives = true;
241.  else
242.    WatchFrame.showObjectives = false;
243.  end
244.
WorldMapFrame.lua - 5.2.0
Code:
341.  elseif ( event == "DISPLAY_SIZE_CHANGED" ) then
342.    WorldMapQuestShowObjectives_AdjustPosition();
343.    if ( WatchFrame.showObjectives and self:IsShown() ) then
344.      WorldMapFrame_UpdateQuests();
345.    end
346.
WorldMapFrame.lua - 5.3.0
Code:
362.  elseif ( event == "DISPLAY_SIZE_CHANGED" ) then
363.    if ( WatchFrame.showObjectives and self:IsShown() ) then
364.      WorldMapFrame_UpdateQuests();
365.    end
366.
Doing the following slight change to :
Plugins/nUI_Location.lua
Code:
-- Xrystal 5.3.0 Change - No longer need this change as function doesn't exist and blizzard doesn't adjust position anymore
--hooksecurefunc( "WorldMapQuestShowObjectives_AdjustPosition", SetLocationAnchor );
nUI_MapLocation:SetScript( "OnShow", SetLocationAnchor );
Will stop the error message from appearing, and no apparent difference to the display.
__________________