Skip to content

Add 'ready-to-show' event #184

Open
Open
@rafajaques

Description

To avoid screen blink when loading, it's better to wait for ready-to-show.

Add show: false to BrowserWindow parameters and wait for event.

window.on('ready-to-show', () => {
   window.show();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions