Skip to content

Conversation

@youknowriad
Copy link
Contributor

Extracted from #11811

This fixes a small typo/error where we were comparing a block Id to a block Object. I don't think it has a lot of impacts on the behavior though.

@youknowriad youknowriad added the [Type] Performance Related to performance efforts label Nov 15, 2018
@youknowriad youknowriad added this to the 4.4 milestone Nov 15, 2018
@youknowriad youknowriad self-assigned this Nov 15, 2018
@youknowriad youknowriad requested a review from a team November 15, 2018 09:40
@youknowriad youknowriad modified the milestones: 4.4, 4.5 Nov 15, 2018
Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

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

This is definitely the corrected behavior for the current implementation.

The current implementation doesn't make much sense anymore though. I don't think it's possible to delete a block without it also being the selected block? Probably more relevant when we had the trash can adjacent the hovered block. In any case, this would at least "just work" if something like that were introduced, or a plugin adds another option to delete a block.

@youknowriad youknowriad merged commit afc83f2 into master Nov 15, 2018
@youknowriad youknowriad modified the milestones: 4.5, 4.4 Nov 15, 2018
@youknowriad youknowriad deleted the fix/small-effect-error branch November 15, 2018 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Performance Related to performance efforts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants