Skip to content

Node in stack can't be dragged out and are stuck #227

@enzi

Description

@enzi

Hey!
Your repo was a huge help to get me started on implementing a StackNode. Thanks for that.
While testing I found a bug.

public override bool DragLeave(DragLeaveEvent evt, IEnumerable<ISelectable> selection, IDropTarget leftTarget, ISelection dragSource)

is never called. So the nodes are never removed from the stack view list.

I debugged the thing and it turns out that only OnStartDragging is called. Must be new? I don't know.
But that's also the fix. To move the remove event to OnStartDragging.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions