mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Style fix for #2918
This commit is contained in:
@@ -166,8 +166,8 @@ bool Converter<blink::WebKeyboardEvent>::FromV8(
|
||||
if (shifted)
|
||||
out->modifiers |= blink::WebInputEvent::ShiftKey;
|
||||
out->setKeyIdentifierFromWindowsKeyCode();
|
||||
if (out->type == blink::WebInputEvent::Char
|
||||
|| out->type == blink::WebInputEvent::RawKeyDown) {
|
||||
if (out->type == blink::WebInputEvent::Char ||
|
||||
out->type == blink::WebInputEvent::RawKeyDown) {
|
||||
out->text[0] = code;
|
||||
out->unmodifiedText[0] = code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user