Cell

Cell

2M Downloads

Disable Frame Feature

Fynn-Mehrens opened this issue ยท 0 comments

commented

From the past I (hopefully correctly) remember an option to simply enable or disable each kind of party frame. This was useful when using e.g. ElvUI for your party & raid frames, but Cell for the spotlight frames.

However I either cannot find the option to achieve that any longer or is has been purged from the project entirely.

As a temporary workaround I have modified the PartyFrame_UpdateLayout() function, so it hides the frame every time it should be updated. However, I certainly do not expect this to be the solution to my (hopefuly not unique) problem.

local function PartyFrame_UpdateLayout(layout, which)
    if Cell.vars.groupType ~= "party" and init then return end

    -- visibility
    UnregisterAttributeDriver(partyFrame, "state-visibility")
        partyFrame:Hide()
        if init then
            return
        else
            layout = "default"
        end

    -- regular rest of the code would continue here...

With this issue, I would like to ask for this feature to be brought back to life. Thank you very much in advance!