Open elliotmendiola opened 4 years ago
This probably doesn't follow best practices and also is inefficient as it does a regex check every time the bag slots update on each of the bag slots, but it gets the job done and I'm not familiar with the code base nor best practices
Thanks for the PR. Seems I didn't think of other add-ons re-using the Blizzard functions.
There are some changes I would suggest:
if(name:sub(1, 14) == 'ContainerFrame') then
. This way it validates that it's the correct frame, instead of checking if it's the wrong one
Before:
After: