diff options
author | Martin Aeschlimann <martinae@microsoft.com> | 2022-07-28 16:32:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 16:32:17 +0300 |
commit | cb7a75ea2d379ed103314ecd5887edddf4f08efb (patch) | |
tree | 96cb80c3549102b93d98648fd2b67bbf897643c9 | |
parent | 1fdade8d07d9c8b0aca3923fc7bb52df4c104264 (diff) |
Consider using regular folding icons for manual or preserved folding ranges. Fixes #156279 (#156573)
-rw-r--r-- | src/vs/editor/contrib/folding/browser/folding.css | 3 | ||||
-rw-r--r-- | src/vs/editor/contrib/folding/browser/foldingDecorations.ts | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/vs/editor/contrib/folding/browser/folding.css b/src/vs/editor/contrib/folding/browser/folding.css index 232384ce3d5..4f70d1097fe 100644 --- a/src/vs/editor/contrib/folding/browser/folding.css +++ b/src/vs/editor/contrib/folding/browser/folding.css @@ -32,6 +32,3 @@ cursor: pointer; } -.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-expanded::before { - transform: rotate(90deg); -} diff --git a/src/vs/editor/contrib/folding/browser/foldingDecorations.ts b/src/vs/editor/contrib/folding/browser/foldingDecorations.ts index 9ad6cb77605..413d0ae9a74 100644 --- a/src/vs/editor/contrib/folding/browser/foldingDecorations.ts +++ b/src/vs/editor/contrib/folding/browser/foldingDecorations.ts @@ -14,8 +14,8 @@ import { ThemeIcon } from 'vs/platform/theme/common/themeService'; export const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, localize('foldingExpandedIcon', 'Icon for expanded ranges in the editor glyph margin.')); export const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, localize('foldingCollapsedIcon', 'Icon for collapsed ranges in the editor glyph margin.')); -export const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', Codicon.ellipsis, localize('foldingManualCollapedIcon', 'Icon for manually collapsed ranges in the editor glyph margin.')); -export const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', Codicon.ellipsis, localize('foldingManualExpandedIcon', 'Icon for manually expanded ranges in the editor glyph margin.')); +export const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, localize('foldingManualCollapedIcon', 'Icon for manually collapsed ranges in the editor glyph margin.')); +export const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, localize('foldingManualExpandedIcon', 'Icon for manually expanded ranges in the editor glyph margin.')); export class FoldingDecorationProvider implements IDecorationProvider { |