Files
kobeniiiiii 53ed531e92 Fix pfUI false-positive detection, square bar textures, add real dropdowns
- CL.HasPfui() was inferring pfUI's presence from the shape of the
  `pfUI` global (existence, then pfUI.api, then a specific function on
  it) - all of which stayed true on a client with pfUI genuinely not
  loaded (confirmed via IsAddOnLoaded returning false, plus a
  completely unstyled vanilla UI). Something else on this client fully
  populates a pfUI-shaped table without pfUI ever loading. Switched to
  IsAddOnLoaded("pfUI") directly - authoritative, sidesteps the whole
  problem. Fixes "Match pfUI" staying visible/active with pfUI off.
- Resized the four bundled bar textures (ElvUI/Gradient/Striped/TukUI)
  from 256x32 to square 32x32 - this client only loads square status
  bar textures, not just power-of-two on each axis, which is why they
  silently fell back to whatever was already showing. Also added a
  generated square "Smooth Gradient" texture, replacing Blizzard's own
  Raid-Bar-Hp-Fill (same non-square problem, can't be fixed directly).
- Bar texture/Font/Number format in Options are now real dropdowns
  (click opens the full list, same widget the Mode/Segment buttons use)
  instead of cycle-on-click - moved the shared dropdown widget into
  Core.lua (CL.ShowDropdown) so both files use one implementation.
- Swept the remaining Blizzard rounded-Tooltip-style backdrops (History
  rows/buttons, Report toggle buttons, Options window/buttons, the
  dropdown menu) to the same flat WHITE8X8 style already applied to the
  main window, for visual consistency.
- Fixed button hover leaving the border stuck class-colored - the
  restore-on-leave logic still used the old theme-color params instead
  of the new flat near-black default.
- Window opacity can now go down to 0%.
2026-08-21 09:42:57 -05:00

3.4 KiB