display inventory data through fractions
This commit is contained in:
+5
-5
@@ -659,9 +659,9 @@ function Guda_BagFrame_MoneyOnEnter(self)
|
|||||||
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT", 0, 0)
|
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT", 0, 0)
|
||||||
GameTooltip:ClearLines()
|
GameTooltip:ClearLines()
|
||||||
|
|
||||||
-- Get all characters and total (faction + realm filtered)
|
-- Get all characters and total (realm filtered, all factions)
|
||||||
local chars = addon.Modules.DB:GetAllCharacters(true, true)
|
local chars = addon.Modules.DB:GetAllCharacters(false, true)
|
||||||
local totalMoney = addon.Modules.DB:GetTotalMoney(true, true)
|
local totalMoney = addon.Modules.DB:GetTotalMoney(false, true)
|
||||||
|
|
||||||
-- Header with current realm total - use colored money
|
-- Header with current realm total - use colored money
|
||||||
GameTooltip:AddLine(
|
GameTooltip:AddLine(
|
||||||
@@ -733,7 +733,7 @@ function Guda_BagFrame_ToggleCharacterDropdown(button)
|
|||||||
characterDropdown.buttons = {}
|
characterDropdown.buttons = {}
|
||||||
|
|
||||||
-- Get all characters on current realm
|
-- Get all characters on current realm
|
||||||
local chars = addon.Modules.DB:GetAllCharacters(true, true)
|
local chars = addon.Modules.DB:GetAllCharacters(false, true)
|
||||||
|
|
||||||
-- Add "Current Character" option at the top
|
-- Add "Current Character" option at the top
|
||||||
local yOffset = -8
|
local yOffset = -8
|
||||||
@@ -901,7 +901,7 @@ function Guda_BagFrame_ToggleBankDropdown(button)
|
|||||||
bankDropdown.buttons = {}
|
bankDropdown.buttons = {}
|
||||||
|
|
||||||
-- Get all characters on current realm
|
-- Get all characters on current realm
|
||||||
local chars = addon.Modules.DB:GetAllCharacters(true, true)
|
local chars = addon.Modules.DB:GetAllCharacters(false, true)
|
||||||
|
|
||||||
local yOffset = -8
|
local yOffset = -8
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -382,9 +382,9 @@ function Guda_BankFrame_MoneyOnEnter(self)
|
|||||||
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT", 0, 0)
|
GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT", 0, 0)
|
||||||
GameTooltip:ClearLines()
|
GameTooltip:ClearLines()
|
||||||
|
|
||||||
-- Get all characters and total (faction + realm filtered)
|
-- Get all characters and total (realm filtered, all factions)
|
||||||
local chars = addon.Modules.DB:GetAllCharacters(true, true)
|
local chars = addon.Modules.DB:GetAllCharacters(false, true)
|
||||||
local totalMoney = addon.Modules.DB:GetTotalMoney(true, true)
|
local totalMoney = addon.Modules.DB:GetTotalMoney(false, true)
|
||||||
|
|
||||||
-- Header with current realm total - use colored money
|
-- Header with current realm total - use colored money
|
||||||
GameTooltip:AddLine(
|
GameTooltip:AddLine(
|
||||||
@@ -1216,7 +1216,7 @@ function Guda_BankFrame_ToggleBankDropdown(button)
|
|||||||
bankCharDropdown.buttons = {}
|
bankCharDropdown.buttons = {}
|
||||||
|
|
||||||
-- Get all characters on current realm
|
-- Get all characters on current realm
|
||||||
local chars = addon.Modules.DB:GetAllCharacters(true, true)
|
local chars = addon.Modules.DB:GetAllCharacters(false, true)
|
||||||
|
|
||||||
local yOffset = -8
|
local yOffset = -8
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user