promotional bannermobile promotional banner

Dark Mode

Dark Mode & UI Refinements

File Details

DarkMode_v1.5.zip

  • R
  • Mar 12, 2026
  • 78.97 KB
  • 166
  • 12.0.5
  • Retail

File Name

DarkMode_v1.5.zip

Supported Versions

  • 12.0.5
## [1.5] - 2026-03-12

### Added
- **Misc tab — Camera section note**: CVar info note added above the Camera checkbox, matching the style of the Nameplates note.

### Changed
- **Action Bar spacing** rewritten again with a correct approach:
  - Direction (horizontal/vertical) auto-detected per bar from button pixel centers.
  - Native inter-button gap read directly from Blizzard's anchor data (not pixel measurement) — immune to frame border geometry offsets.
  - All of Blizzard's anchor points per button are reproduced exactly; only the spacing-driving anchor's offset is nudged. Secondary constraint anchors (vertical alignment etc.) are never discarded.
  - Cache no longer cleared on `EDIT_MODE_LAYOUTS_UPDATED` — prevents cumulative tightening that was occurring on every combat transition (Blizzard fires this event on enter/leave combat too).
  - Missing bars store `false` in cache instead of `nil` — prevents re-scanning on every call and eliminates the `break` bug that silently skipped all subsequent bars.

### Fixed
- `ApplyNameplateNameOnly()` now checks `InCombatLockdown()` before calling `SetCVar` — previously caused `ADDON_ACTION_BLOCKED` error when reloading in combat. Deferred via `_nameplateNameOnlyPending` flag, applied on `PLAYER_REGEN_ENABLED`.
- `PLAYER_REGEN_ENABLED` handler now also flushes `_nameplateNameOnlyPending` alongside the existing `_compactScalePending`.