File Details
DungeonScreenshot_21-05-26.zip
- R
- May 21, 2026
- 18.04 KB
- 390
- 12.0.7+5
- Classic + 3
File Name
DungeonScreenshot_21-05-26.zip
Supported Versions
- 12.0.7
- 12.0.5
- 5.5.4
- 5.5.3
- 2.5.5
- 1.15.8
[3.10] - 2026-05-21
Fixed
- Pending timer cancellation — delayed captures now store the `C_Timer` handle; `/ds cancel`, `/ds now`, `/ds reset`, disabling auto screenshots (`/ds off`, `/ds toggle`, options checkbox), and an immediate capture all cancel the timer so `TryExecutePendingScreenshot()` is not invoked later with stale state.
- Hide UI safety — `TakeScreenshotNow()` wraps the capture in `pcall` and always restores `UIParent` when hide-UI mode is on; `EnsureUIParentShown()` also runs on `PLAYER_LOGOUT` so the interface cannot stay hidden after a reload or exit.
Changed
- Pending state helper — `ClearPendingScreenshotState()` and `CancelPendingTimer()` centralize clearing `pendingScreenshot`, combat wait, instance gate, `pendingSource`, and the active timer (used by cancel, reset, disable, and aborted delayed runs).
- Trigger metadata — `TRIGGER_SOURCES` table drives `FormatTriggerSource()` and `IsTriggerEnabled()` instead of duplicated `if` chains.
- Saved booleans — `ApplyDefaults()` normalizes all toggle flags with `not not` so corrupted `SavedVariables` (e.g. `"false"` strings) migrate to real booleans on load.
- Sound style labels — `GetLocalizedSoundStyleName()` uses a small lookup table aligned with `SOUND_STYLE_ORDER`.
- Version — 3.10 in `.toc`.

