Browse Source

Make defualt pointer state for GraphicsWindowInputDevice PointerPhase::began

Donny Lawrence 6 years ago
parent
commit
fa63829995
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/display/graphicsWindowInputDevice.cxx

+ 1 - 1
panda/src/display/graphicsWindowInputDevice.cxx

@@ -179,7 +179,7 @@ set_pointer_in_window(double x, double y, double time) {
   LightMutexHolder holder(_lock);
 
   double pressure = 0.0;
-  PointerPhase phase = PointerPhase::hover;
+  PointerPhase phase = PointerPhase::began;
 
   if (_pointers.find(0) == _pointers.end()) {
     _pointers[0] = PointerData::make_primary_mouse();