Add Clear Logs to log menu and fix a bug with Toggle.
Reorder GP price list by itemID for easier comparison with future changes.
This commit is contained in:
@@ -22,6 +22,11 @@ function sepgp_logs:OnEnable()
|
||||
"tooltipText", "Refresh window",
|
||||
"func", function() sepgp_logs:Refresh() end
|
||||
)
|
||||
D:AddLine(
|
||||
"text", "Clear",
|
||||
"tooltipText", "Clear Logs.",
|
||||
"func", function() sepgp_log = {} sepgp_logs:Refresh() end
|
||||
)
|
||||
end
|
||||
)
|
||||
end
|
||||
@@ -65,9 +70,6 @@ function sepgp_logs:Toggle(forceShow)
|
||||
elseif (forceShow) then
|
||||
else
|
||||
T:Attach("sepgp_logs")
|
||||
if GameTooltip:IsOwned(self.tipOwner) and GameTooltip:IsShown() then
|
||||
GameTooltip:Hide()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
+646
-646
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -383,7 +383,7 @@ local T = AceLibrary("Tablet-2.0")
|
||||
|
||||
sepgp.defaultMinimapPosition = 180
|
||||
sepgp.cannotDetachTooltip = true
|
||||
sepgp.tooltipHidderWhenEmpty = false
|
||||
sepgp.tooltipHiddenWhenEmpty = false
|
||||
sepgp.hasIcon = "Interface\\Icons\\INV_Misc_Orb_04"
|
||||
|
||||
function sepgp:OnTooltipUpdate()
|
||||
@@ -1018,8 +1018,8 @@ StaticPopupDialogs["SHOOTY_EPGP_RESERVE_AFKCHECK_RESPONCE"] = {
|
||||
hideOnEscape = 1
|
||||
}
|
||||
StaticPopupDialogs["SHOOTY_EPGP_CONFIRM_RESET_GP"] = {
|
||||
text = "Are you sure you want to Reset ALL GP?",
|
||||
button1 = "|cffff0000"..TEXT(OKAY).."|r",
|
||||
text = "|cffff0000Are you sure you want to Reset ALL GP?|r",
|
||||
button1 = TEXT(OKAY),
|
||||
button2 = TEXT(CANCEL),
|
||||
OnAccept = function()
|
||||
sepgp:gp_reset()
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
## Notes: Effort Points/Gear Points Loot System
|
||||
## Author: Roadblock
|
||||
## X-Credits: shooty for original version
|
||||
## Version: 2.2
|
||||
## Version: 2.21
|
||||
## OptionalDeps: Ace2
|
||||
## SavedVariables: sepgp_saychannel,sepgp_groupbyclass,sepgp_raidonly,sepgp_decay,sepgp_reservechannel,sepgp_main,sepgp_progress,sepgp_discount
|
||||
## SavedVariablesPerCharacter: sepgp_log
|
||||
|
||||
Reference in New Issue
Block a user