View Single Post
06-22-18, 10:59 PM   #15
siweia
A Flamescale Wyrmkin
 
siweia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2011
Posts: 126
Originally Posted by elcius View Post
Code:
WorldMapFrame.ScrollContainer.GetCursorPosition = function(f)
	local x,y = MapCanvasScrollControllerMixin.GetCursorPosition(f);
	local s = WorldMapFrame:GetScale();
	return x/s, y/s;
end
I tried the code, the memory usage went up each time you switch zones on the worldmap.
  Reply With Quote