mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
Fix typo when updating code
This commit is contained in:
@@ -280,7 +280,7 @@ bool Converter<blink::WebMouseWheelEvent>::FromV8(
|
||||
bool can_scroll = true;
|
||||
if (dict.Get("canScroll", &can_scroll) && !can_scroll) {
|
||||
out->hasPreciseScrollingDeltas = false;
|
||||
out->setModifiers(out->modifiers() | blink::WebInputEvent::ControlKey);
|
||||
out->setModifiers(out->modifiers() & ~blink::WebInputEvent::ControlKey);
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user