View Single Post
06-01-19, 05:23 PM   #8
elcius
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 75
The problem is that it uses GetCursorPosition, but does not account for frame scale. if you override the handler it may work.

Lua Code:
  1. WorldMapFrame.ScrollContainer.GetCursorPosition = function(f)
  2.     local x,y = MapCanvasScrollControllerMixin.GetCursorPosition(f);
  3.     local s = WorldMapFrame:GetScale();
  4.     return x/s, y/s;
  5. end

Last edited by elcius : 06-01-19 at 05:25 PM.
  Reply With Quote