adjust rbag options
rawoil [08-17-21 - 01:25]
diff --git a/rBag/core.lua b/rBag/core.lua
index 3b1e228..97dd169 100644
--- a/rBag/core.lua
+++ b/rBag/core.lua
@@ -288,7 +288,7 @@ function Bags:SlotUpdate(id, button)
if L.C.showQuest and QuestItem then
button.Backdrop:SetBackdropBorderColor(1, 1, 0)
else
- if Rarity then
+ if Rarity and Rarity > LE_ITEM_QUALITY_COMMON then
button.Backdrop:SetBackdropBorderColor(GetItemQualityColor(Rarity))
else
button.Backdrop:SetBackdropBorderColor(unpack(L.C.button.backdrop.borderColor))
diff --git a/rBag/init.lua b/rBag/init.lua
index 1178fca..f00dfc1 100644
--- a/rBag/init.lua
+++ b/rBag/init.lua
@@ -17,7 +17,8 @@ local copyTable = rLib.CopyTable
--load the default button theme
local soltButtonConfig = copyTable(rButtonTemplate_Zork_ActionButtonConfig)
soltButtonConfig.backdrop.edgeSize = 1
-soltButtonConfig.backdrop.insets = {left=0,right=0,top=0,bottom=0}
+soltButtonConfig.backdrop.tileSize = 16
+soltButtonConfig.backdrop.insets = {left=1,right=1,top=1,bottom=1}
soltButtonConfig.backdrop.points = {{"TOPLEFT",0,0},{"BOTTOMRIGHT",0,0}}
soltButtonConfig.border.alpha = 0
soltButtonConfig.normalTexture.file = ""