• 0

    posted a message on Squishy 0.10 [2006/08/22]
    Quote from maia »

    As for CastParty, it seems we'd need support for the old version and the new alpha, right? Someone will have to update the code in OnEnable as I'm not using CastParty myself, and I also don't know how to check if its a version with the new or old syntax. I suggest to quote the code in the CastParty forum and let a developer tell you what to change to make it work for both old and new.


    The following code should do the trick:

    if CastParty_OnClickByUnit then
    SquishyCustomClick = CastParty_OnClickByUnit
    else
    SquishyCustomClick = CastParty.Event.OnClickByUnit
    end
    Posted in: General AddOns
  • 0

    posted a message on Squishy 0.10 [2006/08/22]
    Ok, here is bug and a suggestion:

    1) The latest version of CastParty (4.2beta) has renamed the function CastParty_OnClickByUnit() to CastParty.Event.OnClickByUnit(). You will have to check for both in Squishy:OnEnable(). Also, you should add CastParty to the optional dependencies in the TOC.

    2) And a suggestion: I would like to specify the alpha value of the window title separately from the background. Currently I just comment out line 140 (Squishy.frames.header:SetAlpha(v)) in core.lua, but it's a bit irritating to have to do that after each update. The reason for this is that I want the background completely transparent, so that there is nothing when no one needs healing, but I still want to see the window title...
    Posted in: General AddOns
  • To post a comment, please or register a new account.