v1.2.50: Right-Click for Options & Modern Settings Integration
v1.2.50: Right-Click for Options & Modern Settings Integration
This release focuses on quality-of-life improvements for accessing configuration menus and ensures full compatibility with modern World of Warcraft Settings APIs.
🚀 New Features
- Quick-Access Options: You can now right-click anywhere on the button tray—or right-click any of the individual buttons—to instantly open the addon's settings panel.
- Modern Settings Support: The options menu has been updated to use modern WoW (10.0+) numeric category IDs, ensuring the "Open Options" logic works seamlessly with the current UI.
- Independent Click Logic: Secure buttons (R, E, L) have been updated to use
type1attributes, allowing Left-Clicks to trigger macros while reserving Right-Clicks for the settings menu.
🛠 Improvements & Bug Fixes
- Legacy Fallback: Maintained support for legacy WoW versions by including fallback logic for
InterfaceOptionsFrame_OpenToCategory. - Toggle Refinement: The "A" button now supports both Left-Click for the Addon List and Right-Click for Addon Settings.
- Combat Safety: Added
InCombatLockdownchecks to prevent UI errors when attempting to open settings during combat.
🎨 Visuals & Profiles
- Dynamic Sizing: The tray background and button positions continue to scale dynamically based on your custom "Button Width" and "Overall Scale" settings.
- Profile Protection: As per project standards, the "Default" profile and your currently active profile remain protected from accidental deletion.
Installation: 1. Download the source files.
2. Replace your existing MidnightUIButtons.lua and MidnightUIButtons.toc with the new versions.
3. Restart WoW or type /reload in-game.