set height of main filter dropdown to 2x normal
AssemblerManiac [04-12-18 - 15:08]
set height of main filter dropdown to 2x normal
diff --git a/IIfA/IIfA.lua b/IIfA/IIfA.lua
index 652230a..d6b82ef 100644
--- a/IIfA/IIfA.lua
+++ b/IIfA/IIfA.lua
@@ -65,7 +65,7 @@ IIfA.trackedBags = {
[BAG_HOUSE_BANK_TEN] = true,
}
-IIfA.dropdownBankNames = {
+IIfA.dropdownLocNames = {
"All",
"All Banks",
"All Guild Banks",
@@ -160,10 +160,10 @@ function IIfA:StatusAlert(message)
end
function IIfA:TextColorFixup(settings)
- d("settings.TextColorsCraftBag = " .. settings.TextColorsCraftBag)
+-- d("settings.TextColorsCraftBag = " .. settings.TextColorsCraftBag)
if settings.TextColorsToon == nil then
if settings.in2TextColors then
- d("old = " .. settings.in2TextColors)
+-- d("old = " .. settings.in2TextColors)
self.colorHandlerToon = ZO_ColorDef:New(settings.in2TextColors)
self.colorHandlerBank = ZO_ColorDef:New(settings.in2TextColors)
self.colorHandlerGBank = ZO_ColorDef:New(settings.in2TextColors)
@@ -171,7 +171,7 @@ function IIfA:TextColorFixup(settings)
self.colorHandlerHouseChest = ZO_ColorDef:New(settings.in2TextColors)
self.colorHandlerCraftBag = ZO_ColorDef:New(settings.in2TextColors)
else
- d("Using default textcolors")
+-- d("Using default textcolors")
self.colorHandlerToon = ZO_ColorDef:New(IIFA_COLOR_DEFAULT:ToHex())
self.colorHandlerBank = ZO_ColorDef:New(IIFA_COLOR_DEFAULT:ToHex())
self.colorHandlerGBank = ZO_ColorDef:New(IIFA_COLOR_DEFAULT:ToHex())
@@ -187,7 +187,7 @@ function IIfA:TextColorFixup(settings)
settings.TextColorsCraftBag = self.colorHandlerCraftBag:ToHex()
settings.in2TextColors = nil
else
- d("using saved textcolors")
+-- d("using saved textcolors")
self.colorHandlerToon = ZO_ColorDef:New(settings.TextColorsToon)
self.colorHandlerBank = ZO_ColorDef:New(settings.TextColorsBank)
self.colorHandlerGBank = ZO_ColorDef:New(settings.TextColorsGBank)
diff --git a/IIfA/IIfABackpack.lua b/IIfA/IIfABackpack.lua
index f64e755..5a4ff53 100644
--- a/IIfA/IIfABackpack.lua
+++ b/IIfA/IIfABackpack.lua
@@ -588,7 +588,7 @@ function IIfA:GetCharacterList()
end
function IIfA:GetAccountInventoryList()
- local accountInventories = IIfA.dropdownBankNames
+ local accountInventories = IIfA.dropdownLocNames
-- get character names, will present in same order as character selection screen
@@ -616,7 +616,7 @@ function IIfA:GetAccountInventoryList()
end
if IIfA.data.b_collectHouses then
- table.insert(accountInventories, "All Houses")
+ -- table.insert(accountInventories, "All Houses") -- 4-11-18 AM - removed duplicate entry, it's in the dropdownLocNames already
for idx, houseName in pairs(IIfA:GetTrackedHouseNames()) do
table.insert(accountInventories, houseName)
end
@@ -731,6 +731,8 @@ function IIfA:SetupBackpack()
comboBox:SetSortsItems(false)
+ IIFA_GUI_Header_Dropdown.m_comboBox.m_height = 500 -- normal height is 250, so just double it (will be plenty tall for most users - even Mana)
+
local validChoices = IIfA:GetAccountInventoryList()
for i = 1, #validChoices do
diff --git a/IIfA/IIfAMenu.lua b/IIfA/IIfAMenu.lua
index f4decfa..34f61e3 100644
--- a/IIfA/IIfAMenu.lua
+++ b/IIfA/IIfAMenu.lua
@@ -476,7 +476,7 @@ function IIfA:CreateOptionsMenu()
type = "dropdown",
name = "Default Inventory Frame View",
tooltip = "The default view (in the dropdown) set when the inventory frame loads",
- choices = IIfA.dropdownBankNames,
+ choices = IIfA.dropdownLocNames,
default = IIfA:GetSettings().in2DefaultInventoryFrameView,
getFunc = function() return IIfA:GetSettings().in2DefaultInventoryFrameView end,
setFunc = function( value )
diff --git a/IIfA/IIfASettingsAdapter.lua b/IIfA/IIfASettingsAdapter.lua
index 70ac997..d18b830 100644
--- a/IIfA/IIfASettingsAdapter.lua
+++ b/IIfA/IIfASettingsAdapter.lua
@@ -178,9 +178,10 @@ function IIfA:SetTrackingForHouse(houseCollectibleId, trackIt)
houseCollectibleId = houseCollectibleId or GetCollectibleIdForHouse(GetCurrentZoneHouseId())
if tonumber(houseCollectibleId) ~= houseCollectibleId then
realId = IIfA:GetHouseIdFromName(houseCollectibleId)
- if not realId then d(houseCollectibleId); return end
+ if not realId then d(houseCollectibleId) return end
houseCollectibleId = realId
end
+ if houseCollectibleId == 0 then return end
IIfA.data.collectHouseData[houseCollectibleId] = trackIt
IIfA:GetTrackedBags()[houseCollectibleId] = trackIt
IIfA:RebuildHouseMenuDropdowns()
diff --git a/IIfA/IIfATooltip.lua b/IIfA/IIfATooltip.lua
index 07c2c54..59d9964 100644
--- a/IIfA/IIfATooltip.lua
+++ b/IIfA/IIfATooltip.lua
@@ -492,9 +492,9 @@ function IIfA:UpdateTooltip(tooltip)
elseif location.bagLoc == BAG_GUILDBANK then
textOut = IIfA.colorHandlerGBank:Colorize(textOut)
elseif location.bagLoc == BAG_HOUSE_BANK_ONE then
- textOut = IIfA.colorHandlerHouse:Colorize(textOut)
- elseif location.bagLoc == 99 then
textOut = IIfA.colorHandlerHouseChest:Colorize(textOut)
+ elseif location.bagLoc == 99 then
+ textOut = IIfA.colorHandlerHouse:Colorize(textOut)
elseif location.bagLoc == BAG_VIRTUAL then
textOut = IIfA.colorHandlerCraftBag:Colorize(textOut)
end
@@ -566,9 +566,9 @@ function IIfA:UpdateTooltip(tooltip)
elseif location.bagLoc == BAG_GUILDBANK then
textOut = IIfA.colorHandlerGBank:Colorize(textOut)
elseif location.bagLoc == BAG_HOUSE_BANK_ONE then
- textOut = IIfA.colorHandlerHouse:Colorize(textOut)
- elseif location.bagLoc == 99 then
textOut = IIfA.colorHandlerHouseChest:Colorize(textOut)
+ elseif location.bagLoc == 99 then
+ textOut = IIfA.colorHandlerHouse:Colorize(textOut)
elseif location.bagLoc == BAG_VIRTUAL then
textOut = IIfA.colorHandlerCraftBag:Colorize(textOut)
end
@@ -578,7 +578,7 @@ function IIfA:UpdateTooltip(tooltip)
end
end
end
-
+-- |H1:item:30357:175:1:0:0:0:0:0:0:0:0:0:0:0:0:36:0:0:0:0:0|h|h
--[[
on pts