RomanSpector / CompactRaidFrame

36 stars 7 forks source link

Clique Support #16

Closed v3ceban closed 2 years ago

v3ceban commented 2 years ago

For some reason this addon doesn't support clique :(

RomanSpector commented 2 years ago

https://discord.com/channels/750381752752668682/750381752752668685/850002052398055435

mortza commented 1 year ago

there is a issue with bot/role interaction message in your discord

RomanSpector commented 1 year ago

Alright, some of you are using CompactRaidFrames and wanted to use Clique with them. Please don't modify Clique to work with it but rather modify CompactRaidFrames.

  1. Open the file: CompactRaidFrame\CompactUnitFrame.lua
  2. Scroll down and look for the function: CompactUnitFrame_SetUpFrame (line #207).
  3. Add the followings lines at the end of the function: ClickCastFrames = ClickCastFrames or {} ClickCastFrames[frame] = true

This will register any frame created to the ClickCastFrames global table, thus adding them to Clique frames. I hope this helps.

EDIT: Please open locales.xml and make sure enUS.lua is first, then edit the file remove the check for GetLocale(), "enUS" should always be used by default.

v3ceban commented 1 year ago

Great, exactly what I needed! Thanks!