-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with moving items between popup menus #615
Comments
Turns out the issue was that when an item has its position changed via bar_item_set_position, it never actually removes itself from the popup that it was added in, meaning that when you attempt to move it back it will not be able to be moved back due to the condition of popup_add_item not allowing an item to be added if the item already exists. Will be posting a PR shortly. |
Not entirely sure whether this warrants a reopening of this issue or a new issue to be made, but I found some more potential problems as follows:
2024-09-25.09-35-58.mp4 |
Description
When attempting to move items between different popup menus, items do not move back correctly (exact nature of behaviour unknown)
Code
test.lua
Behaviour
Expected behaviour: Item should move to one menu, then move back to its original menu.
Actual behaviour: Item is moved to one menu and remains in said menu.
The text was updated successfully, but these errors were encountered: