Quantcast

- Fix typo in Config, scaling

urnati [04-13-23 - 03:03]
- Fix typo in Config, scaling
- Fix (mostly) for Short bars going off screen when scaling
Filename
Titan/TitanConfig.lua
Titan/TitanTemplate.lua
diff --git a/Titan/TitanConfig.lua b/Titan/TitanConfig.lua
index 50dffe8..ffa28d1 100644
--- a/Titan/TitanConfig.lua
+++ b/Titan/TitanConfig.lua
@@ -605,7 +605,7 @@ local optionsUIScale = {
 			set = function(_, a)
 				if not InCombatLockdown() then
 					TitanPanelSetVar("Scale", a)
-					TitanPanel_InitPanelBarButton("Config scale change "..scale)
+					TitanPanel_InitPanelBarButton("Config scale change "..a)
 				end
 			end,
 			disabled = function()
diff --git a/Titan/TitanTemplate.lua b/Titan/TitanTemplate.lua
index e7a40bd..c422670 100644
--- a/Titan/TitanTemplate.lua
+++ b/Titan/TitanTemplate.lua
@@ -1442,7 +1442,7 @@ function TitanPanel_InitPanelBarButton()
 	TitanPanel_SetScale();

 	for idx,v in pairs (TitanBarData) do
---		CheckBarBounds(_G[idx], 0)
+		CheckBarBounds(_G[idx], 0)
 		TitanPanel_SetBarTexture(idx)
 	end