Переглянути джерело

commented out down setting for resume_down case. This is a fix for the first key missed bug

Zachary Pavlov 19 роки тому
батько
коміт
4d9f4785c7
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      panda/src/tform/mouseWatcher.cxx

+ 1 - 1
panda/src/tform/mouseWatcher.cxx

@@ -1365,7 +1365,7 @@ do_transmit_data(DataGraphTraverser *trav, const DataNodeTransmit &input,
         break;
 
       case ButtonEvent::T_resume_down:
-        _current_buttons_down.set_bit(be._button.get_index());
+        //_current_buttons_down.set_bit(be._button.get_index());
         // Don't call press(), since the button wasn't actually
         // pressed just now.
         new_button_events.add_event(be);