d2e55eb3cb328b635629a06409b6d9eef97588d1
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.
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
- ElvUI (3.3.5 backport)
Description
Languages
Lua
100%