fix minimap button

now it will properly remember at which page user has stopped and will remain like that even after relog.
This commit is contained in:
Sattva
2023-05-21 00:27:44 +03:00
parent c7c813ed8b
commit 53ef641cc0
2 changed files with 44 additions and 11 deletions
+35
View File
@@ -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)
+9 -11
View File
@@ -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();