Files
coa-weakauras/WeakAuras
florian.berthold 8ffee1f781
lint / lint (push) Has been cancelled
Add CoAClassColors.lua + bump to 5.22.0
WeakAuras reads class colours inline at two call sites with the
whole-table-pick pattern — no per-key fallback:

    WeakAuras/Types.lua:15
      local color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[classFilename]
    WeakAuras/AuraEnvironment.lua:108
      local classData = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[class]
      local coloredName = ("|c%s%s|r"):format(classData.colorStr, name)

When !ClassColors is loaded it injects a vanilla-10-only
CUSTOM_CLASS_COLORS, so the 22 CoA tokens silently miss. Types.lua
returns the white fallback; AuraEnvironment.lua:109 *hard-crashes* on
classData.colorStr.

New file mirrors any RAID_CLASS_COLORS entry that CUSTOM_CLASS_COLORS
is missing, when !ClassColors is loaded. Idempotent — only fills nil
keys, so user customisations win. Loaded after Compatibility.lua and
ahead of every Types/AuraEnvironment call site. !ClassColors added to
OptionalDeps so it loads first when installed.

Same pattern as coa-omen, coa-kui-nameplates, and
coa-shadowedunitframes.
2026-05-09 00:44:48 +02:00
..
2020-09-16 23:03:25 +03:00
2026-02-17 05:58:11 -07:00
2026-02-16 11:47:36 -07:00
2020-06-02 23:40:06 +03:00
2026-02-16 08:28:24 -07:00
2025-04-03 21:03:11 +02:00
2025-05-31 22:54:39 +02:00
2025-09-13 18:02:26 +02:00
2025-01-27 03:28:33 +01:00
2026-02-16 11:47:36 -07:00
2025-04-03 21:03:11 +02:00
2020-07-01 17:42:02 +03:00
2026-02-16 11:47:36 -07:00
2026-02-17 05:58:11 -07:00
2025-07-22 16:49:18 +02:00
2025-04-03 21:03:11 +02:00
2026-02-16 11:47:36 -07:00
2025-04-03 21:03:11 +02:00
2020-06-02 23:40:06 +03:00
2025-04-13 16:03:55 +02:00
2026-02-16 08:20:31 -07:00
2025-04-03 21:03:11 +02:00
2025-07-22 16:49:18 +02:00
2026-02-16 08:28:24 -07:00
2026-02-16 12:11:44 -07:00
2026-02-16 11:43:44 -07:00