View Single Post
05/03/22, 03:58 AM   #1
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Layer/Tier problem on PTS (apparently)

Hi all,
I went on the PTS to test my QuickMapNav addon (draws links with area names on the map) and it looks like it now draws the text under the map so we can't see it and click it anymore.
Sometimes it randomly works as usual though.
I use CT label
Lua Code:
  1. self.alikrGle = WINDOW_MANAGER:CreateControl(nil, self.control, CT_LABEL)
and this
Lua Code:
  1. self.alikrGle:SetHandler("OnMouseUp", function(self, button, upInside, ctrl, alt, shift, command)
  2.     if upInside then
  3.      ZO_WorldMap_SetMapByIndex(2)
  4.     end
  5. end)

I tried to play with SetDrawLayer but I don't know how many layers are there and which one to choose...
Any idea how I can fix this?
  Reply With Quote