diff --git a/FurCGui.lua b/FurCGui.lua
index 4a47e75..9705863 100644
--- a/FurCGui.lua
+++ b/FurCGui.lua
@@ -452,6 +452,9 @@ local function createGui()
FurC.LoadFrameInfo()
FurC.InitFilters()
FurC.UpdateDropdowns()
+
+ -- reanchor it once
+ FurC.SetHideUIButton(FURC_RUMOUR, FurC.GetHideUIButton(FURC_RUMOUR))
FurC.UpdateHeader()
end
@@ -464,9 +467,8 @@ function FurC.UpdateHeader()
FurC_ShowRumours:SetHidden(hideRumourButton)
FurC_ShowRumoursGlow:SetHidden(not showRumours or hideRumourButton)
- if not hideRumourButton then
+ if not hideRumourButton then
FurC_ShowRumours:SetState((showRumours and BSTATE_PRESSED) or BSTATE_NORMAL)
-
end
local hideCrownButton = FurC.GetHideUIButton(FURC_CROWN)
@@ -480,8 +482,10 @@ end
function FurnitureCatalogue_Toggle()
+
SCENE_MANAGER:ToggleTopLevel(FurCGui)
if FurCGui:IsHidden() then return end
+
FurCGui_Empty:SetHidden(true)
zo_callLater(function() FurC.UpdateGui(FurC.GetResetDropdownChoice()) end, 500)
end
diff --git a/FurCMenu.lua b/FurCMenu.lua
index 1bb49b4..e523b45 100644
--- a/FurCMenu.lua
+++ b/FurCMenu.lua
@@ -251,14 +251,14 @@ function FurC.CreateSettings(savedVars, defaults)
name = GetString(SI_FURC_STRING_MENU_FALL_HIDE_CROWN),
tooltip = GetString(SI_FURC_STRING_MENU_FALL_HIDE_CROWN_TT),
getFunc = function() return FurC.GetFilterAllOnTextNoCrown() end,
- setFunc = function(value) FurC.GetFilterAllOnTextNoCrown(value) end,
+ setFunc = function(value) FurC.SetFilterAllOnTextNoCrown(value) end,
disabled = not FurC.GetFilterAllOnText()
},
{ -- checkbox: Exclude crown store items from these
type = "checkbox",
name = GetString(SI_FURC_STRING_MENU_FALL_HIDE_CROWN_BUTTON),
getFunc = function() return FurC.GetFilterAllOnTextNoCrown() end,
- setFunc = function(value) FurC.GetFilterAllOnTextNoCrown(value) end,
+ setFunc = function(value) FurC.SetFilterAllOnTextNoCrown(value) end,
disabled = not FurC.GetFilterAllOnText()
},
{ -- checkbox: Exclude crown store items from these
diff --git a/FurCSettingsAdapter.lua b/FurCSettingsAdapter.lua
index 468d524..0b46ac7 100644
--- a/FurCSettingsAdapter.lua
+++ b/FurCSettingsAdapter.lua
@@ -36,9 +36,9 @@ function FurC.SetHideUIButton(buttonIdentifier, value)
-- reanchor crownstore button
FurC_ShowCrowns:ClearAnchors()
if value then
- FurC_ShowCrowns:SetAnchor(RIGHT, FurC_Search, RIGHT, 0)
+ FurC_ShowCrowns:SetAnchor(RIGHT, FurC_Search, RIGHT, 3, 3)
else
- FurC_ShowCrowns:SetAnchor(RIGHT, FurC_ShowRumours, LEFT, 8, 3)
+ FurC_ShowCrowns:SetAnchor(RIGHT, FurC_ShowRumours, LEFT, 8, 0)
end
@@ -78,7 +78,7 @@ end
function FurC.GetFilterAllOnTextNoCrown()
return FurC.settings["filterAllOnTextNoCrown"]
end
-function FurC.GetFilterAllOnTextNoCrown(value)
+function FurC.SetFilterAllOnTextNoCrown(value)
FurC.settings["filterAllOnTextNoCrown"] = value
FurC.UpdateGui()
end
diff --git a/data/06_2018/MiscItemSources.lua b/data/06_2018/MiscItemSources.lua
index d65ddb1..23ae0ab 100644
--- a/data/06_2018/MiscItemSources.lua
+++ b/data/06_2018/MiscItemSources.lua
@@ -37,7 +37,7 @@ local sinister_hollowjack = "Sinister Hollowjack Items"
local itemPackNewLife2018 = zo_strformat(GetString(SI_FURC_ITEMSOURCE_ITEMPACK), "New Life Festival 2018")
local itemPackDeepmire = zo_strformat(GetString(SI_FURC_ITEMSOURCE_ITEMPACK), "Deepmire Expedition")
local itemPackDwemer = zo_strformat(GetString(SI_FURC_ITEMSOURCE_ITEMPACK), "Dwemer")
-local itemPackDwemer = zo_strformat(GetString(SI_FURC_ITEMSOURCE_ITEMPACK), "Lord Vivec")
+local itemPackVivec = zo_strformat(GetString(SI_FURC_ITEMSOURCE_ITEMPACK), "Lord Vivec")
local onSummerset = " on Summerset"
diff --git a/startup.lua b/startup.lua
index 259c4c8..41d0aba 100644
--- a/startup.lua
+++ b/startup.lua
@@ -204,14 +204,15 @@ local function setupSourceDropdown()
FurC.SourceIndices = sourceIndices
end
-local logger = LibDebugLogger("MyAddon")
+local logger = (LibDebugLogger and LibDebugLogger("MyAddon")) or nil
function FurC.DebugOut(...)
- if logger then logger:Debug(...) end
-end
-
-local function p(...)
- FurC.DebugOut(...)
+ if logger then
+ logger:Debug(...)
+ elseif FurC.settings.enableDebug then
+ zo_strformat(...)
+ end
end
+local p = FurC.DebugOut
function whoami()
return FurnitureCatalogue.CharacterName