SaintsField
SaintsField copied to clipboard
IMGUI: [Bug] duplicate array doesn't appear on empty columns
important to keep that consistent, especially when the columns become so cramped that it's near impossible to find background to right click on
also, related, i noticed that the row being deleted and duplicated isn't the clicked row
Sorry, I don't get it. What is a duplicate array? Do you mean two same elements in the table but only one element is shown?
Sorry, I don't get it. What is a duplicate array? Do you mean two same elements in the table but only one element is shown?
it should diplicate what's selected, not the first element of the array.
here's a clear example, i removed table and duplicate works as expected: duplicate item i to i+1 at and push array
https://github.com/user-attachments/assets/a30ef96a-5b63-46be-85c9-674482d59019
https://github.com/user-attachments/assets/559acd72-01ab-49df-a662-253ff0c73423
Hi,
this is because IMGUI & UI Toolkit requires to manually handle the right click context menu.
This feature has been added in dev, and will be released soon
Please note: Unity does not provide an API to copy/paste item, so I have to use reflection, and that paste reflection API sometimes does not work: this is not fixable unless Unity can provide a stable documented copy/paste editor API.
This is fixed in 4.13.5, please have a try
Perfect! thanks!!!