Skip to content

Add health gradient color mode for missing health bar - #12

Merged
DanderBot merged 1 commit into
DanderBot:mainfrom
Enf0:feat/missing-health-gradient
Feb 22, 2026
Merged

DanderBot merged 1 commit into
DanderBot:mainfrom
Enf0:feat/missing-health-gradient

Conversation

@Enf0

@Enf0 Enf0 commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

The color mode for Missing Health only had Custom Color and Class Color as options. This adds Health Gradient as a third option, matching the Health Bar options. It gets the same gradient preview bar color/weight controls and alpha slider.

Having two sets of gradient controls on the same flat page made it hard to tell which cards belonged to which option, so I split the page into two collapsible sections ("Health Bar" and "Missing Health") using the existing CreateCollapsibleSection pattern from other menus.

Screenshots
image

image image

@Enf0
Enf0 marked this pull request as ready for review February 18, 2026 19:48
@Enf0
Enf0 marked this pull request as draft February 18, 2026 19:59
@Enf0
Enf0 force-pushed the feat/missing-health-gradient branch 4 times, most recently from d4c9964 to a354188 Compare February 18, 2026 20:59
Add "Health Gradient" as a third Color Mode for missing health,
with gradient preview bar and per-stop color/weight controls.

Reorganize Health Bar options page into collapsible sections
(Health Bar, Missing Health) to keep both sets of gradient
controls visually grouped.
@Enf0
Enf0 force-pushed the feat/missing-health-gradient branch from a354188 to 438c1cb Compare February 18, 2026 21:13
@Enf0
Enf0 marked this pull request as ready for review February 18, 2026 21:14
@DanderBot
DanderBot merged commit da18538 into DanderBot:main Feb 22, 2026
Krathe82 pushed a commit to Krathe82/DandersFrames that referenced this pull request Jun 6, 2026
Resource bar border (BUG DanderBot#12):
- FullFrameRefresh and OnAttributeChanged called non-existent
  DF:PositionResourceBar(), renamed to DF:ApplyResourceBarLayout()

Heal absorb bar (BUG DanderBot#5):
- Add calc:SetHealAbsorbMode(1) so GetHealAbsorbs() returns the full
  absorb amount instead of subtracting incoming heals (mode 0 default)

Performance:
- Replace pcall wrappers with nil checks in all three calculator
  usages (2x damage absorb, 1x heal absorb) — pcall is expensive
  and these run per-frame every update
Krathe82 pushed a commit to Krathe82/DandersFrames that referenced this pull request Jun 6, 2026
Add health gradient color mode for missing health bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants