Jaliborc / Bagnon

Single window displays for you items
194 stars 111 forks source link

Bag slot background #1448

Open Voxxel opened 1 year ago

Voxxel commented 1 year ago

Color Settings / Display Background option doesn't hide the background texture anymore but instead it swaps to a different texture. Is there a way to make this option to functioning again? Before 10.0 it removed the slot texture and make the slots completely untextured (so it could be made plain transparent).

drum84 commented 1 year ago

+1

Would love to have it transparent again.

Fleymour commented 1 year ago

+1

MisterUIltimo commented 1 year ago

+1 Really miss this. Last thing to make Bagnon perfect for me.

The Bagslot background before prepatch. Bagslot_Transp

The Bagslot background now. Bagslot_Now

Both with the "Display Background" option turned off.

xozion commented 1 year ago

Hey guys, i just stumbled upon the exact same issue. Drove me nuts, so i dag into the source code. If you want, you can use this temporary fix, which yields the same results as the option used to do.

You have to edit the file item.lua @ bagnon/common/Wildpands/classes/item.lua (line 469) with a text editor. Original function:

function Item:GetEmptyItemIcon()
    return Addon.sets.emptySlots and 'Interface/PaperDoll/UI-Backpack-EmptySlot'
end

Updated function: (crucial part is the or '' at the end)

function Item:GetEmptyItemIcon()
    return Addon.sets.emptySlots and 'Interface/PaperDoll/UI-Backpack-EmptySlot' or ''
end

This should give you back empty slot backgrounds. Either restart wow or type /reload in chat. image

Cheers

drum84 commented 1 year ago

nice. big thanks

Fleymour commented 1 year ago

Wow_Lekf61co3q

broke for me Sadly.. but maybe ur tip helps the dev to fix it :)

V1rtuou5 commented 1 year ago

For me the location of the file needing editing was C:\Program Files (x86)\World of Warcraft_retail_\Interface\AddOns\BagBrother\addons\core\classes\item.lua Make sure to change 'Interface/PaperDoll/UI-Backpack-EmptySlot'
to 'Interface/PaperDoll/UI-Backpack-EmptySlot' or '' image Credit to xozion for finding this!