Browse Source

Fix typo when updating code

Cheng Zhao 8 years ago
parent
commit
301ed2d66c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      atom/common/native_mate_converters/blink_converter.cc

+ 1 - 1
atom/common/native_mate_converters/blink_converter.cc

@@ -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;