Originally Posted by glupikreten
Can someone explain to me why this does not work:
Code:
BNToastFrame:HookScript("OnShow", function(self)
BNToastFrame:ClearAllPoints()
BNToastFrame:SetPoint("BOTTOMLEFT", someframe, "TOPLEFT", 0, 15)
end)
|
The ToastFrame position may be set after
OnShow is fired. You can nuke these functions by setting an empty function in their place.
Code:
BNToastFrame:ClearAllPoints()
BNToastFrame:SetPoint("BOTTOMLEFT", someframe, "TOPLEFT", 0, 15)
local function NoOp() end-- Do nothing
BNToastFrame.ClearAllPoints=NoOp;
BNToastFrame.SetPoint=NoOp;
Originally Posted by glupikreten
And also is it possible to change strata of FPS frames...
Code:
FramerateLabel:SetFrameStrata("HIGH")
FramerateText:SetFrameStrata("HIGH")
not working... afaik strata for both is WORLD which is below BACKGROUND
|
These are regions, not frames. You have to make a new frame and re-set their parent to it. You may also want to remove
FramerateLabel from the
UIPARENT_MANAGED_FRAME_POSITIONS table or strange things will happen with its anchors.
Code:
UIPARENT_MANAGED_FRAME_POSITIONS.FramerateLabel=nil;