Skip to content

Commit

Permalink
Added improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
nang-dev committed Nov 2, 2024
1 parent 56f4fff commit 6164e3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vs/workbench/browser/parts/overlay/pearOverlayPart.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Part } from "vs/workbench/browser/part";
import {
IWorkbenchLayoutService,
Expand Down Expand Up @@ -143,6 +147,8 @@ export class PearOverlayPart extends Part {
this.fullScreenOverlay.style.right = "0";
this.fullScreenOverlay.style.bottom = "0";
this.fullScreenOverlay.style.backgroundColor = "rgba(0, 0, 0, 0.2)";
// this.fullScreenOverlay.style.pointerEvents = "none"; // Ignore clicks on the full screen overlay
this.fullScreenOverlay!.style.backgroundColor = "rgba(0, 0, 0, 0.5)"; // Darken the overlay

// create the popup area overlay. this is just a target for webview to layout over
this.popupAreaOverlay = $("div.pearai-popup-area-overlay");
Expand Down

0 comments on commit 6164e3f

Please sign in to comment.