View Single Post
09-22-18, 06:59 AM   #13
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
Move Minimap not MinimapCluster interactive problem

As the title said, did anyone find they had an interativity problem with the minimap after disconnecting it from the MinimapCluster frame and reparenting it ?

Since I did it with nUI the only interactivity I get is what nUI built in, as in mouse scrolling for zoom in/out.

I can't see anything in Blizzards minimap files to explain what section handles the display of quest poi tooltips on the minimap but for some reason something I did stopped it from working, but none of the nUI minimap code has code for tooltips. And the tooltips from the buttons around the map work fine, just the ones inside the minimap are failing.

What's strange is that my mini addon to test the separation code works fine...

And here I was hoping not to have rewrite the whole minimap code in nUI *sigh*


Edit:
Aha, found the problem...
MinimapCluster:EnableMouse( false );
MinimapCluster:SetParent( frame );
MinimapCluster:SetFrameStrata( frame:GetFrameStrata() );
MinimapCluster:SetFrameLevel( frame:GetFrameLevel()+1 );

MinimapCluster:SetMovable( true );
MinimapCluster:StartMoving()
MinimapCluster:StopMovingOrSizing()

nUI_Movers:lockFrame( MinimapCluster, true, nil );
Just had to be removed rather than recoded as Minimap.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 09-22-18 at 08:18 AM.
  Reply With Quote