Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full screen behavior is not the same as chrome #89

Open
pinkcao opened this issue Jun 5, 2023 · 0 comments
Open

Full screen behavior is not the same as chrome #89

pinkcao opened this issue Jun 5, 2023 · 0 comments

Comments

@pinkcao
Copy link

pinkcao commented Jun 5, 2023

this is not full screen
not full screen

and this is full screen
full screen

maybe we should listen event "enter-full-screen", "leave-full-screen", and do hide or show tabbar?
just like chrome.

I hope this feature could be added, or maybe tell me how to modify it :D.
I've tried listen 'enter-full screen' event and send message like

    this.window.on('enter-html-full-screen', () => {
      this.window.webContents.send('enterFullScreen', true)
      console.log('enter-html-full-screen')
    })

but I do not know clearly where should I add ipcRenderer to receive it and do hide() and show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant