[MM-59252] Fix resizing app when welcome screen is open on macOS, force button to always appear on welcome screen (#3112)
This commit is contained in:
@@ -36,6 +36,12 @@ function WelcomeScreen({
|
||||
|
||||
useEffect(() => {
|
||||
setShowContent(true);
|
||||
|
||||
// Let the main process know when the window has finished resizing
|
||||
// This is to reduce the amount of white box that happens when expand the BrowserView
|
||||
window.addEventListener('resize', () => {
|
||||
window.desktop.viewFinishedResizing();
|
||||
});
|
||||
}, []);
|
||||
|
||||
const slides = useMemo(() => [
|
||||
|
Reference in New Issue
Block a user