From 53ef641cc067f06c2662fed3dd648564fcc6ac05 Mon Sep 17 00:00:00 2001 From: Sattva Date: Sun, 21 May 2023 00:27:44 +0300 Subject: [PATCH] fix minimap button now it will properly remember at which page user has stopped and will remain like that even after relog. --- Changelog and Notes.txt | 35 +++++++++++++++++++++++++++++++++++ Leatrix_Plus.lua | 20 +++++++++----------- 2 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 Changelog and Notes.txt diff --git a/Changelog and Notes.txt b/Changelog and Notes.txt new file mode 100644 index 0000000..895b7c1 --- /dev/null +++ b/Changelog and Notes.txt @@ -0,0 +1,35 @@ + + TODO List: + + +Backport: +Need to see why does it always open on home page via minimap button. +Need to fix transparency of settings in Settings main window. + + + +Functions: + Improve Quest Accept conditions (aka skip welcome window and block shared aka escort quests) + Frame mover + Square minimap + Restore Chat Messages history after relog + Hide keybind text + Hide macro text + Resize mail text + Train All Button + Ready Timer for RDF/BG +Copy chat links +Links to wowhead-wotlk in Quest Log for every quest. + Remove transforms (Jack-o'-Lantern, Hallowed Wand, Witch, Turkey and Spraybot transformations? etc.) + Flight Path timer +Import Quest / Vendor Bindings +Make Action Bar buttons full red if out of range (instead of blizzard text red only) +Auto-Spirit Res. +Allow some error texts like mining, herbing +Allow only one line of error text option +If player has tooltip hidden in combat, make an option to toggle tooltip if "Alt" key is hold. +Add more tweaks to Auction House extras module. +Need to add exceptions for automating the gossip. (But first need to find NPCs that need exceptions, or make user be able to add exceptions) +Make the config options for Faster Loot module. (disable sound, change sound, error filter, smaller error frame, faster fading - make all this optional) + + diff --git a/Leatrix_Plus.lua b/Leatrix_Plus.lua index 00cfcd3..e7da531 100644 --- a/Leatrix_Plus.lua +++ b/Leatrix_Plus.lua @@ -8150,17 +8150,15 @@ if InterfaceOptionsFrame:IsShown() or VideoOptionsFrame:IsShown() then return end if arg1 == "LeftButton" then - if LeaPlusLC["PageF"]:IsShown() then - LeaPlusLC:HideFrames(); - else - LeaPlusLC:HideFrames(); - LeaPlusLC["PageF"]:Show(); - end - if LeaPlusLC["Page"..LeaPlusLC["LeaStartPage"]] and LeaPlusLC["OpenPlusAtHome"] == "Off" then - LeaPlusLC["Page"..LeaPlusLC["LeaStartPage"]]:Show() - else - LeaPlusLC["Page0"]:Show(); - end + -- No modifier key toggles the options panel + if LeaPlusLC:IsPlusShowing() then + LeaPlusLC:HideFrames() + LeaPlusLC:HideConfigPanels() + else + LeaPlusLC:HideFrames() + LeaPlusLC["PageF"]:Show() + end + LeaPlusLC["Page" .. LeaPlusLC["LeaStartPage"]]:Show() end if arg1 == "RightButton" then ReloadUI();