GregVido/mica-electron

When set frame: false, Minimize window is black

tonylu110 opened this issue ยท 11 comments

I set frame: false, when I minimize window then open window, window will be black

uyou-todo-electron
This repo uses mica-electron, and like I say when I set frame: false background will be black

Hello, I just made a commit which in theory fixes the problem ๐Ÿ˜

Hello, I just made a commit which in theory fixes the problem ๐Ÿ˜

Oh, thanks. It can work for me.
I have another question. How to set always use the light theme.

Normally win.setLightTheme(); works for windows 11 effects.

Normally win.setLightTheme(); works for windows 11 effects.

I know, but when I change the color theme. the window will change, and the background will be black.
I use nativeTheme to change light theme, but it won't work

// it doesn't work
nativeTheme.on('updated', () => {
  mainWindow.setLightTheme()
})

I just made an update, normally you don't need to use nativeTheme anymore, it's fixed ๐Ÿ‘

I just made an update, normally you don't need to use nativeTheme anymore, it's fixed ๐Ÿ‘

Thanks, but it doesn't work. When I change color theme and background will be black.
Like this:

Ok normally it's fixed (hopefully)

Ok normally it's fixed (hopefully)

When it exit, it has a error

Yes sorry it's fixed

Yes sorry it's fixed

Oh yes, it's all work. Thanks