Skip to content

Commit 3231bfc

Browse files
committed
Update explorer view condition and SVG icon attributes
Changed the 'when' clause in package.json to use 'workbench.explorer.fileView' for better specificity. Added explicit 'fill="currentColor"' to SVG path elements in package icons for improved color handling.
1 parent 338b83c commit 3231bfc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"view/title": [
6565
{
6666
"command": "extension.newPackage",
67-
"when": "view == explorer",
67+
"when": "view == workbench.explorer.fileView",
6868
"group": "navigation@1"
6969
}
7070
]

resources/icons/package_dark.svg

Lines changed: 1 addition & 1 deletion
Loading

resources/icons/package_light.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)