Skip to content

PlugLayout : "layout:accessory" fixes#6829

Open
murraystevenson wants to merge 2 commits intoGafferHQ:1.6_maintenancefrom
murraystevenson:plugLayoutAccessoryFix
Open

PlugLayout : "layout:accessory" fixes#6829
murraystevenson wants to merge 2 commits intoGafferHQ:1.6_maintenancefrom
murraystevenson:plugLayoutAccessoryFix

Conversation

@murraystevenson
Copy link
Copy Markdown
Contributor

This fixes a couple of bugs that I'd say are prerequisites before we consider implementing #6523. The first seems a legit bug worth fixing. The second commit is technically a change in behaviour if anyone is relying on divider-button rows, so could be shuffled off to main if that's a better place for it, or dropped altogether if we consider the existing behaviour reasonable...

Otherwise a plug with "accessory" metadata following a plug with "divider" metadata resulted in the Divider and the accessory plug being put into an _AccessoryRow below the primary plug.

This change groups the primary plug and its accessory in an _AccessoryRow, with the Divider below. Dividers aren't deduplicated, so if both the primary plug and the accessory have divider metadata, two Dividers will be created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Review

Development

Successfully merging this pull request may close these issues.

1 participant