Explorar el Código

Changes views in the GitLens side bar to only use when's based on config

This avoids unnecessary flickering of the GitLens side bar icon
main
Eric Amodio hace 6 años
padre
commit
56a67bd92c
Se han modificado 1 ficheros con 7 adiciones y 7 borrados
  1. +7
    -7
      package.json

+ 7
- 7
package.json Ver fichero

@ -3060,17 +3060,17 @@
"view/title": [
{
"command": "gitlens.showCommitSearch",
"when": "view =~ /^gitlens.views.repositories:/",
"when": "gitlens:enabled && view =~ /^gitlens.views.repositories:/",
"group": "navigation@1"
},
{
"command": "gitlens.pullRepositories",
"when": "view =~ /^gitlens.views.repositories:/",
"when": "gitlens:enabled && view =~ /^gitlens.views.repositories:/",
"group": "navigation@7"
},
{
"command": "gitlens.fetchRepositories",
"when": "view =~ /^gitlens.views.repositories:/",
"when": "gitlens:enabled && view =~ /^gitlens.views.repositories:/",
"group": "navigation@8"
},
{
@ -3155,7 +3155,7 @@
},
{
"command": "gitlens.showCommitSearch",
"when": "view =~ /^gitlens.views.results:/",
"when": "gitlens:enabled && view =~ /^gitlens.views.results:/",
"group": "navigation@1"
},
{
@ -3855,17 +3855,17 @@
{
"id": "gitlens.views.repositories:gitlens",
"name": "Repositories",
"when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
"when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
},
{
"id": "gitlens.views.fileHistory:gitlens",
"name": "File History",
"when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
"when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
},
{
"id": "gitlens.views.lineHistory:gitlens",
"name": "Line History",
"when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
"when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
},
{
"id": "gitlens.views.results:gitlens",

Cargando…
Cancelar
Guardar