mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Focus into Side Bar commands don't focus the sidebar if the sidebar wasn't already visible (fix #193737) (#211417)
This commit is contained in:
parent
c1f470ad5a
commit
82de0899cc
|
@ -37,7 +37,6 @@ export class FocusSideBarAction extends Action2 {
|
||||||
// Show side bar
|
// Show side bar
|
||||||
if (!layoutService.isVisible(Parts.SIDEBAR_PART)) {
|
if (!layoutService.isVisible(Parts.SIDEBAR_PART)) {
|
||||||
layoutService.setPartHidden(false, Parts.SIDEBAR_PART);
|
layoutService.setPartHidden(false, Parts.SIDEBAR_PART);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Focus into active viewlet
|
// Focus into active viewlet
|
||||||
|
|
Loading…
Reference in a new issue