View Single Post
01-18-24, 08:02 AM   #4
Ssesmar2
A Murloc Raider
 
Ssesmar2's Avatar
Join Date: Jan 2024
Posts: 6
I've tried different things, for example.
Lua Code:
  1. local WorldMapDataProvider = CreateFromMixins(MapCanvasDataProviderMixin)
  2. local WorldMapPinMixin = CreateFromMixins(MapCanvasPinMixin)
  3.  
  4. function WorldMapPinMixin:SetPassThroughButtons() end
  5.  
  6. function WorldMapPinMixin:OnLoad()
  7.     self:UseFrameLevelType('PIN_FRAME_LEVEL_MAP_HIGHLIGHT')
  8. end
  9.  
  10. function WorldMapPinMixin:ApplyFrameLevel()
  11.     MapCanvasPinMixin.ApplyFrameLevel(self)
  12.     self:SetFrameLevel(self:GetFrameLevel() + self.frameOffset)
  13. end

i also tried to add it directly like xxx:SetFrameLevel(5000)

sometimes my icon or the tooltip is over it and shows it is displayed correctly and sometimes not




but I just can't get it to work. If anyone has the time or desire to help me and tell me why my setframelevel doesn't work or what I forgot to make it work.

Last edited by Ssesmar2 : 01-19-24 at 01:19 PM.
  Reply With Quote