Skip to content

Midnight#2

Merged
Rainrider merged 3 commits intomainfrom
midnight
Feb 3, 2026
Merged

Midnight#2
Rainrider merged 3 commits intomainfrom
midnight

Conversation

@Rainrider
Copy link
Owner

@Rainrider Rainrider commented Feb 3, 2026

Update for Midnight.

Breaking Changes:

  • UpdateColor is now defined on the element instead of on the dispelTexture sub-widget.
  • UpdateColor is now passed the unit and the dispellable debuff in place of the dispel type and the color components.
  • UpdateColor is now called when no dispellable debuff is found.
  • Some of the callback arguments and some of the widget attributes are now secrets because of the API changes made by Blizzard in Midnight.

Added:

  • Dispellable.dispelColorCurve - a color curve object based of oUF.colors.dispel and dispelTexture.dispelAlpha (or 1 if not set)
  • Dispellable.resetColor - a color object used to reset the colors of the dispelTexture and the dispelIcon.overlay sub-widgets when no dispellable debuff is found. Defaults to r = 1, g = 1, b = 1, and alpha equal to dispelTexture.noDispelAlpha (or 1 if no dispelTexture is set)

Fixed:

  • The element is now always updated, so that the layout does not have to hide the widgets explicitly
  • The element is now updated when the currently found dispellable debuff is updated

`UpdateColor` is now defined on the element instead of on the
`dispelTexture` sub-widget.
`UpdateColor` is now passed the unit and the dispellable debuff in
place of the dispel type and the color components.
`UpdateColor` is now called when no dispellable debuff is found.
@Rainrider Rainrider merged commit 2781b9d into main Feb 3, 2026
2 checks passed
@Rainrider Rainrider deleted the midnight branch February 3, 2026 01:21
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.

1 participant