promotional bannermobile promotional banner

Mark Target

Mark Target Panel

File Details

MarkTarget_24-04-26.zip

  • R
  • Apr 24, 2026
  • 17.53 KB
  • 951
  • 5.5.4+3
  • Classic + 2

File Name

MarkTarget_24-04-26.zip

Supported Versions

  • 5.5.4
  • 5.5.3
  • 2.5.5
  • 1.15.8
[4.6] - 2026-04-24

Changed

- Modifier key saves: `selectedKey` is normalized on load and after key capture (`LSHIFT` / `RSHIFT` → `SHIFT`, same for Ctrl/Alt, empty → `SHIFT`) so auto-mark and `MODIFIER_STATE_CHANGED` filtering stay consistent with presets.
- Internals: single constant `NUM_RAID_MARKS` for all mark loops; `UpdateActiveMark` no longer keeps a redundant shadow of the active index.
- Events: `ADDON_LOADED` is unregistered after the first successful load in both the main addon and the options loader (minor overhead reduction).

Added

- `addonTable.InitializeSettings` and `addonTable.NormalizeSelectedKey` for reuse (options panel calls initialization on show so `SavedVariables` are always valid before reading toggles).
- Settings UI: closing the settings panel cancels “press a key” capture and hides the fullscreen key handler (avoids a stuck overlay if the user closes options without pressing a key).