druid icon indicating copy to clipboard operation
druid copied to clipboard

Question about StaticGrid:remove()

Open NaakkaDev opened this issue 1 year ago • 1 comments

Is it expected that when using the StaticGrid remove method with a shift the actual gui nodes are moved? I was confused when I used remove without gui.delete_node(deleted_node) since it visually looks like it removes the node from gui, but after I figured out how to print the node tree it looks like it just moves the grid item on top of another one.

It would be good if the documentation tells what the shift policy does more precisely. I had always assumed that it only shifts the items in the nodes array.

Btw. I like druids quite a lot, thank you for making it! :)

NaakkaDev avatar Oct 31 '23 07:10 NaakkaDev