Skip to content

Commit 0ee08df

Browse files
authored
Refactor menu's css seems missing (fix #198881) (#200712)
Refactor menu's css seems missing (#198881)
1 parent 7184d91 commit 0ee08df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/vs/base/browser/ui/contextview/contextview.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ export class ContextView extends Disposable {
159159
const usedShadowDOM = this.useShadowDOM;
160160
this.useShadowDOM = domPosition === ContextViewDOMPosition.FIXED_SHADOW;
161161

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

166166
if (this.container) {

0 commit comments

Comments
 (0)