Sushi-3.1

Sushi-3.1

1.5k Downloads

Messed up backdrop texture & Missing CloseDropDownMenus issue

AndreWaehlisch opened this issue ยท 2 comments

commented

I am trying to use the dropdown class and I am having some issues. I am using the example code from the wiki page.

1.: After selecting an item I need two clicks on the arrow button to show the dropdown menu again. Adding the following line after line 104 in DropdownFrame.lua fixes this for me (this is the line with self:SetShown(data.keepShownOnClick)). Don't know if it is the correct position though: if not data.keepShownOnClick then CloseDropDownMenus() end

2.: After selecting an item and then clicking the arrow button again (twice, with the above issue) to show the menu will display the dropdown menu, but the backdrop texture will be all messed up (see the attached image). Just clicking the arrow button (without selecting any items) will display it just fine.
image

commented

I have no idea what is causing this. Never seen it nor can reproduce.

commented

Testing again on the now current retail version: While the first problem still exists, the second seems to be fixed for me (maybe it was a bug on Blizzards side).