Jaliborc / Sushi-3.2

A GUI framework, all wrapped in rice and seaweed for extra flavor.
27 stars 8 forks source link

Messed up backdrop texture & Missing CloseDropDownMenus issue #4

Closed AndreWaehlisch closed 4 years ago

AndreWaehlisch commented 7 years ago

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

Jaliborc commented 5 years ago

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

AndreWaehlisch commented 5 years ago

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).