Fixing jittery Compass Bar and colorizing research timers
Leandro Silva [10-27-18 - 18:06]
Fixing jittery Compass Bar and colorizing research timers
diff --git a/Lang/fr.lua b/Lang/fr.lua
index c537845..2678e74 100644
--- a/Lang/fr.lua
+++ b/Lang/fr.lua
@@ -44,3 +44,4 @@ ZO_CreateStringId('SI_BINDING_NAME_LEOALTHOLIC_TRACK_QUEST', "Track Daily Quest"
ZO_CreateStringId("LEOALT_CHECKLIST", "Liste de contrôle")
ZO_CreateStringId("LEOALT_TOOLBAR", "Toolbar")
ZO_CreateStringId("LEOALT_BUMP_COMPASS", "Bump Game Compass down")
+ZO_CreateStringId("LEOALT_ACCOUNT_CONFIGURATION", "Account Wide Configuration")
diff --git a/Lang/jp.lua b/Lang/jp.lua
index 72ca1b9..037b775 100644
--- a/Lang/jp.lua
+++ b/Lang/jp.lua
@@ -44,3 +44,4 @@ ZO_CreateStringId('SI_BINDING_NAME_LEOALTHOLIC_TRACK_QUEST', "デイリークエ
ZO_CreateStringId("LEOALT_CHECKLIST", "チェックリスト")
ZO_CreateStringId("LEOALT_TOOLBAR", "Toolbar")
ZO_CreateStringId("LEOALT_BUMP_COMPASS", "Bump Game Compass down")
+ZO_CreateStringId("LEOALT_ACCOUNT_CONFIGURATION", "Account Wide Configuration")
diff --git a/LeoAltholic.txt b/LeoAltholic.txt
index 5d7e0b4..6c22ef1 100644
--- a/LeoAltholic.txt
+++ b/LeoAltholic.txt
@@ -1,6 +1,6 @@
## Title: Leo's Altholic
## APIVersion: 100024 100025
-## Version: 1.4.0
+## Version: 1.4.1
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoAltholicSavedVariables LeoAltholicCharVariables
## OptionalDependsOn: LibStub LibFeedback LibAddonMenu-2.0
diff --git a/LeoAltholicInit.lua b/LeoAltholicInit.lua
index 232a945..42901a7 100644
--- a/LeoAltholicInit.lua
+++ b/LeoAltholicInit.lua
@@ -6,7 +6,7 @@ LeoAltholicToolbarUI = LeoAltholicToolbarUI or {}
LeoAltholic.name = "LeoAltholic"
LeoAltholic.displayName = "Leo's Altholic"
-LeoAltholic.version = "1.4.0"
+LeoAltholic.version = "1.4.1"
LeoAltholic.chatPrefix = "|c39B027" .. LeoAltholic.name .. "|r: "
LeoAltholic.TAB_BIO = "Bio"
diff --git a/ui/research.lua b/ui/research.lua
index 399aa88..1219237 100644
--- a/ui/research.lua
+++ b/ui/research.lua
@@ -65,7 +65,7 @@ function LeoAltholicResearchList:SetupEntry(control, data)
color = '|cFFFF00'
end
if #list > 0 then
- output = output .. " " .. color..LeoAltholic.FormatTime(first.time) .. '|r'
+ output = output .. " " .. color..LeoAltholic.FormatTime(first.time, false, true) .. '|r'
end
control.craft[craft]:SetText(output)
control.craft[craft].list = list
diff --git a/ui/toolbar.lua b/ui/toolbar.lua
index 0f3a9f9..35cd912 100644
--- a/ui/toolbar.lua
+++ b/ui/toolbar.lua
@@ -21,7 +21,6 @@ function LeoAltholicToolbarUI.RestorePosition()
end
function LeoAltholicToolbarUI.bumpCompass()
-
if LeoAltholic.globalData.settings.toolbar.enabled and LeoAltholic.globalData.settings.toolbar.bumpCompass then
if LeoAltholicToolbar:GetTop() <= 60 then
if math.floor(ZO_CompassFrame:GetTop()) ~= math.floor(LeoAltholicToolbar:GetTop()) + 60 then
@@ -36,11 +35,6 @@ function LeoAltholicToolbarUI.bumpCompass()
ZO_TargetUnitFramereticleover:ClearAnchors()
ZO_TargetUnitFramereticleover:SetAnchor( TOP, GuiRoot, TOP, 0, 88 )
end
- elseif ZO_CompassFrame:GetTop() ~= 40 then
- ZO_CompassFrame:ClearAnchors()
- ZO_CompassFrame:SetAnchor( TOP, GuiRoot, TOP, 0, 40 )
- ZO_TargetUnitFramereticleover:ClearAnchors()
- ZO_TargetUnitFramereticleover:SetAnchor( TOP, GuiRoot, TOP, 0, 88 )
end
end