Skip to content

Commit

Permalink
Refactor menu's css seems missing (fix #198881) (#200712)
Browse files Browse the repository at this point in the history
Refactor menu's css seems missing (#198881)
  • Loading branch information
bpasero authored Dec 13, 2023
1 parent 7184d91 commit 0ee08df
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 0ee08df

Please sign in to comment.