Skip to content

Comments

Add concept of "attached layers" to Masonry#1663

Open
PoignardAzur wants to merge 1 commit intolinebender:mainfrom
PoignardAzur:attached_layers
Open

Add concept of "attached layers" to Masonry#1663
PoignardAzur wants to merge 1 commit intolinebender:mainfrom
PoignardAzur:attached_layers

Conversation

@PoignardAzur
Copy link
Contributor

No description provided.

Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to see it in actual use to have a more informed opinion. However, what's here now looks ok.

/// Creates a new [layer] at a specified `position`, and ties it to the current widget.
///
/// The layer will be removed when the current widget is removed from the tree.
/// A widget can only have one layer of any given type `W` at a time: if a widget creates two layers of the same type, the old layer will be removed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep line lengths under 100.

Suggested change
/// A widget can only have one layer of any given type `W` at a time: if a widget creates two layers of the same type, the old layer will be removed.
/// A widget can only have one layer of any given type `W` at a time:
/// if a widget creates two layers of the same type, the old layer will be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants