Skip to content

Move the Close... actions to a nested menu on the tab#15250

Merged
DHowett merged 1 commit intomainfrom
dev/migrie/b/nested-close
Apr 28, 2023
Merged

Move the Close... actions to a nested menu on the tab#15250
DHowett merged 1 commit intomainfrom
dev/migrie/b/nested-close

Conversation

@zadjii-msft
Copy link
Member

A resurrection of the original nested "Close" menu from #7728. We discovered that nested flyouts crash in #8238. Those are fixed now though! So we can bring this back.

This also includes the "Close Pane" item from #15198.

on a tab with panes:

image

on a tab without panes:

image

@DHowett DHowett enabled auto-merge (squash) April 28, 2023 23:03
}
});
_AppendCloseMenuItems(contextMenuFlyout);
auto closeSubMenu = _AppendCloseMenuItems(contextMenuFlyout);
Copy link
Member

Choose a reason for hiding this comment

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

I am a little bit weirded out by this returning a menu into which we then insert another thing, but also. whatever. that's cool :)

@DHowett DHowett merged commit c4944c3 into main Apr 28, 2023
@DHowett DHowett deleted the dev/migrie/b/nested-close branch April 28, 2023 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants