Narcasung d2e55eb3cb Stop disabled buttons taking the hover border colour
S:HandleButton ends with an unconditional OnEnter/OnLeave pair that swaps
the border to the value colour and back, and neither handler looks at
IsEnabled. A disabled button still fires both scripts on this client, so
the greyed Activate button, Save changes with nothing pending and Purchase
with nothing selected all lit up under the cursor and read as clickable.

HookScript can't be undone, but handlers fire in registration order, so a
hook registered after HandleButton runs last and has the final say on the
colour. Skin:Button wraps HandleButton with that hook, and every call site
in the plugin now goes through it, so the correction is inherited rather
than repeated per module.

The Activate button carries the border from its own update as well:
activating a spec disables it under the very cursor that just clicked it,
and OnEnter has been and gone by then, so nothing else would put the border
back until the pointer moved off.

Skin:IsEnabled hoists the 0/1-to-boolean normalisation this client needs
out of UpdateActivateState, which held the only copy of it.
2026-08-18 16:30:27 +02:00

ElvUI_CoA (WIP)

ElvUI plugin that hides and skins the custom CoA (3.3.5) frames not covered by stock ElvUI.

Implemented

  • Character advancement, vanity, wardrobe frames: skin, scale
  • Class resource frames: hiding
  • Extra action button frame: skin, anchor, size
  • Instance swap frame: skin, anchor, font settings
  • Only highlight unitframes if dispellable by your CoA class.

Installation

Download the repo as .zip, extract in Interface\AddOns, remove -master from the folder name.

Requirements

S
Description
No description provided
Readme 410 KiB
Languages
Lua 100%