This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Alt+right-clicking on the World Map opens the "Add Handy Note" frame (HNEditFrame). It is drawn behind the quest log panel on the side of the map. The parts that overlap the quest log are hidden, so the frame can't be used properly.
HNEditFrame
Version: HandyNotes v1.6.32
In HandyNotes_EditFrame.lua, the frame is created with SetFrameStrata("FULLSCREEN"). The OnShow handler then re-parents it:
HandyNotes_EditFrame.lua
SetFrameStrata("FULLSCREEN")
OnShow
if WorldMapFrame:IsShown() then self:SetParent(WorldMapFrame) self:SetFrameLevel(WorldMapFrame:GetFrameLevel() + 20) else self:SetParent(UIParent) self:SetFrameLevel(10) end
SetParent() makes the frame take on its new parent's strata, so HNEditFrame drops from FULLSCREEN to the World Map's strata (HIGH). Inside that strata, its level is only WorldMapFrame level + 20. The quest log panel's child frames are nested deeper in the World Map and end up at higher levels, so they are drawn on top of the edit frame.
SetParent()
FULLSCREEN
HIGH
WorldMapFrame level + 20
Set the strata again after re-parenting:
if WorldMapFrame:IsShown() then self:SetParent(WorldMapFrame) else self:SetParent(UIParent) end -- SetParent() replaces the strata with the parent's (WorldMapFrame = HIGH), -- so the quest log panel's child frames could be drawn over this frame. self:SetFrameStrata("FULLSCREEN_DIALOG") if self.SetFixedFrameStrata then self:SetFixedFrameStrata(true) end self:SetFrameLevel(50) self:Raise()
FULLSCREEN_DIALOG
SetFixedFrameStrata(true)
WorldMapFrame
To post a comment, please login or register a new account.