Log in to ZYGOR
Log in with social media
OR
Log in with Zygor account

Announcement

Collapse
No announcement yet.

NPC viewer position bug

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NPC viewer position bug

    I randomly came accross the "View mentioned NPCs and monsters" tickbox... what an awesome feature!

    However I have "Hide controls" enabled so the border and controls fade out when the cursor isn't over the window. I beleive the litte npc viewer window is anchored to the border, as when the border dissapears, the window will drop to the very bottom left of the viewer.

    See screenshots (click for non-cropped image):


    (cursor over viewer -- border visible)


    (cursor outside of viewer -- border hidden)

    #2
    Yes that's what happens when you have the controls set to the bottom of the guide. If they were set to the top when the controls hide the npc box drops down and sticks to the side of the guide like it's supposed to. I don't know if this can be fixed or not. It may be that it can only go one way and not the other. One of the Zygor team will have to respond to let us know if this can be fixed or not.
    I'm Rebur, Tadia, or Judianna most games.
    Twitter @Chaos5061.
    Translations are done with Google Translate.

    Comment


      #3
      I'm a developer for other addons so I took it upon myself to fix this small nag.

      CreatureViewer.lua v3.0.1732, line 56

      Old:
      Code:
      function CV:AlignFrame()
      	if ZGV.Frame.Border:GetAlpha()>0.01 then
      		CV.Frame:SetPoint("TOPRIGHT",ZGV.Frame,"TOPLEFT")
      	else	
      		CV.Frame:SetPoint("TOPRIGHT",ZGV.Frame.Border.Guides,"TOPLEFT",4,-22)
      	end
      end
      New:
      Code:
      function CV:AlignFrame()
      	if ZGV.Frame.Border:GetAlpha()>0.01 then
      		CV.Frame:SetPoint("TOPRIGHT",ZGV.Frame,"TOPLEFT")
      	elseif not ZGV.db.profile.resizeup then
      		CV.Frame:SetPoint("TOPRIGHT",ZGV.Frame.Border.Guides,"TOPLEFT",4,-22)
      	end
      end
      Edit: I posted this once and then thought of a better way of doing it, so have reposted.

      Comment

      Working...
      X