File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/presenter/windowPresenter Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ export class WindowPresenter implements IWindowPresenter {
4242 private settingsWindow : BrowserWindow | null = null
4343 private tooltipOverlayWindows = new Map < number , BrowserWindow > ( )
4444 private pendingTooltipPayload = new Map < number , { x : number ; y : number ; text : string } > ( )
45+ // TEMP: Tooltip overlay window creation is disabled while renderer tooltip overlay is unstable.
46+ private isTooltipOverlayEnabled = false
4547
4648 constructor ( configPresenter : IConfigPresenter ) {
4749 this . windows = new Map ( )
@@ -1078,6 +1080,7 @@ export class WindowPresenter implements IWindowPresenter {
10781080 }
10791081
10801082 private getOrCreateTooltipOverlay ( parentWindow : BrowserWindow ) : BrowserWindow | null {
1083+ if ( ! this . isTooltipOverlayEnabled ) return null
10811084 if ( parentWindow . isDestroyed ( ) ) return null
10821085 // Do not create overlay on macOS fullscreen; it hides traffic lights
10831086 if ( process . platform === 'darwin' && parentWindow . isFullScreen ( ) ) return null
You can’t perform that action at this time.
0 commit comments