diff Framework/Scene2DViewport/ViewportController.cpp @ 1249:964c89e15e7e broker

ViewportController::HandleMouseMove() returning a Boolean for invalidation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 07 Jan 2020 14:23:24 +0100
parents f621b57c9f37
children 0ca50d275b9a
line wrap: on
line diff
--- a/Framework/Scene2DViewport/ViewportController.cpp	Tue Jan 07 13:45:04 2020 +0100
+++ b/Framework/Scene2DViewport/ViewportController.cpp	Tue Jan 07 14:23:24 2020 +0100
@@ -278,11 +278,16 @@
     }
   }
 
-  void ViewportController::HandleMouseMove(const PointerEvent& event)
+  bool ViewportController::HandleMouseMove(const PointerEvent& event)
   {
     if (activeTracker_)
     {
       activeTracker_->PointerMove(event);
+      return true;
+    }
+    else
+    {
+      return false;
     }
   }