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

Handle ESC via element event handlers #112

Merged
merged 1 commit into from
Dec 30, 2015
Merged

Conversation

diracdeltas
Copy link
Member

This makes it possible for ESC to behave differently depending on whether the find bar is focused.

auditors: @bbondy

This makes it possible for ESC to behave differently depending on whether the
find bar is focused.
@@ -35,6 +35,9 @@ class Main extends ImmutableComponent {
})
}

ipc.on(messages.STOP_LOAD, () => {
electron.remote.getCurrentWebContents().send(messages.SHORTCUT_ACTIVE_FRAME_STOP)
Copy link
Member

Choose a reason for hiding this comment

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

at some point we should refactor these calls away from remote because I think it does a round trip to parent process then back to child.

@bbondy
Copy link
Member

bbondy commented Dec 30, 2015

Looks good, please merge.

diracdeltas added a commit that referenced this pull request Dec 30, 2015
Handle ESC via element event handlers
@diracdeltas diracdeltas merged commit 4beeffb into master Dec 30, 2015
@diracdeltas diracdeltas deleted the fix/escape-handling branch December 30, 2015 21:40
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.

2 participants