Skip to content

Changing layer value should trigger resort of parent's children #32

@profexorgeek

Description

@profexorgeek

Right now layer is respected when a positionable is added to a View or a Positionable. But if the value of layer changes, the collection is not re-sorted.

The layer field should be made private and get and set accessors added. The set accessor should remove and re-add the positionable so it is re-sorted in its parent's collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions