I’m wondering if there is any way (event, method) to make a BrowserWindow repaint while it’s hidden?
My problem is, that I have window and when I switch the macOS dark mode on or off, I add a class to the DOM root element so that it’s appearance will adjust to the new dark mode settings. But when I open the window again, there is a short flash of the old styles. I don’t mean to be picky but is there any way I can avoid that?
Thanks for your help guys!