Skip to content

Commit

Permalink
Refactor menu's css seems missing (fix microsoft#198881) (microsoft#2…
Browse files Browse the repository at this point in the history
…00712)

Refactor menu's css seems missing (microsoft#198881)
  • Loading branch information
bpasero authored and zongou committed Feb 1, 2024
1 parent ed2db5e commit 2c54023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/base/browser/ui/contextview/contextview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export class ContextView extends Disposable {
const usedShadowDOM = this.useShadowDOM;
this.useShadowDOM = domPosition === ContextViewDOMPosition.FIXED_SHADOW;

if (container === this.container && usedShadowDOM !== this.useShadowDOM) {
return; // container is the same and now shadow DOM usage has changed
if (container === this.container && usedShadowDOM === this.useShadowDOM) {
return; // container is the same and no shadow DOM usage has changed
}

if (this.container) {
Expand Down

0 comments on commit 2c54023

Please sign in to comment.