Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

enable escape for exit of webview fullscreen #2021

Merged
merged 1 commit into from
Jun 2, 2016
Merged

enable escape for exit of webview fullscreen #2021

merged 1 commit into from
Jun 2, 2016

Conversation

bridiver
Copy link
Collaborator

@bridiver bridiver commented Jun 1, 2016

@@ -521,7 +532,6 @@ class Frame extends ImmutableComponent {
})
this.webview.addEventListener('enter-html-full-screen', () => {
windowActions.setFullScreen(this.props.frame, true, true)
setTimeout(windowActions.setFullScreen.bind(this, this.props.frame, undefined, false), 5000)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't realize what this was for, but it looks like it turns off the fullscreen warning message so I'll put it back in

@bbondy
Copy link
Member

bbondy commented Jun 2, 2016

I think the logic can be tweaked a bit in electron instead but going with this for now.
Was going to debug but my xcode needs to be reinstaleld or something because it keeps crashing :(

@bbondy bbondy merged commit 4126235 into master Jun 2, 2016
@luixxiul luixxiul added this to the 0.10.1dev milestone Jun 3, 2016
@bbondy bbondy deleted the fullscreen branch September 28, 2016 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants