Skip to content

Add activePanel context key - #49971

Merged
Isidor Nikolic (isidorn) merged 1 commit into
microsoft:masterfrom
Krzysztof-Cieslak:addIsPanelVisible
May 18, 2018
Merged

Isidor Nikolic (isidorn) merged 1 commit into
microsoft:masterfrom
Krzysztof-Cieslak:addIsPanelVisible

Conversation

@Krzysztof-Cieslak

Copy link
Copy Markdown
Contributor

}

dispose(): void {
this.disposables = dispose(this.disposables);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please call super.dispose()

const id = viewlet.getId();

if (this.activePanelContextKey.get() === id) {
this.activePanelContextKey.set('');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please call .reset instead

@isidorn

Isidor Nikolic (isidorn) commented May 17, 2018 •

Copy link
Copy Markdown

Krzysztof Cieślak (@Krzysztof-Cieslak) Thanks for the PR. It looks good to me, I left two minor comments.
Once you adress them I will merge this in

@isidorn
Isidor Nikolic (isidorn) merged commit c3e6a8e into microsoft:master May 18, 2018
@isidorn

Copy link
Copy Markdown

Actually merging this in and adding the minor things on top. Thanks a lot!

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add context for when Output is Focused / Visible

2 participants