Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Window loses acrylic effect after opening devTools #33

Closed
@tscpp

Description

@tscpp

I'm using the wrapper class.

function createWindow() {
	const window = new BrowserWindow({
		icon: path.join(__dirname, 'icons/explorer.ico'),
		frame: false,
		vibrancy: {
			disableOnBlur: false,
			effect: 'acrylic',
			theme: 'appearance-based',
			useCustomWindowRefreshMethod: true
		},
		webPreferences: {
			nodeIntegration: true,
			enableRemoteModule: true
		},
		minWidth: 250,
		minHeight: 250
	})
	
	window.loadFile(path.join(__dirname, '../web/window.html'))

	return window
}

Before (VSCode in the background)

image

DevTools open (the effect gets completly white)

image

After (the window loses it's effect)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions