Skip to content

Add TileId to EditorAction or Behavior::on_edit #101

@mahlquistj

Description

@mahlquistj

While building a project, we wanted to be able to identify the tab(s) being edited, and found that no TileId was being supplied in the Behavior::on_edit trait method.

I've made this work in a fork, but it's not a very efficient solution when it comes to the resize_interaction methods for Grid and Linear.

If there is any other way to detect dropping, resizing, and focus please tell me :)

While i would open a PR, i wanted to open this issue first to see if this feature would actually be accepted.

I would love to make a proper solution for this as well, as the current one has breaking changes for the EditAction enum, but may need a pointer on how you would like this feature implemented, if accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions