diff --git a/support/hololens/ServoApp/ServoControl/Servo.h b/support/hololens/ServoApp/ServoControl/Servo.h index 3cf3bc63d93..b89ca1c8d76 100644 --- a/support/hololens/ServoApp/ServoControl/Servo.h +++ b/support/hololens/ServoApp/ServoControl/Servo.h @@ -62,9 +62,7 @@ public: void MouseUp(float x, float y, capi::CMouseButton b) { capi::mouse_up(x, y, b); } - void MouseMove(float x, float y) { - capi::mouse_move(x, y); - } + void MouseMove(float x, float y) { capi::mouse_move(x, y); } void Reload() { capi::reload(); } void Stop() { capi::stop(); } diff --git a/support/hololens/ServoApp/ServoControl/ServoControl.cpp b/support/hololens/ServoApp/ServoControl/ServoControl.cpp index 9e7323ae8f2..c8444b57d2d 100644 --- a/support/hololens/ServoApp/ServoControl/ServoControl.cpp +++ b/support/hololens/ServoApp/ServoControl/ServoControl.cpp @@ -149,7 +149,7 @@ void ServoControl::OnSurfacePointerPressed( void ServoControl::OnSurfacePointerCanceled( IInspectable const &, Input::PointerRoutedEventArgs const &e) { - mPressedMouseButton = {}; + mPressedMouseButton = {}; } void ServoControl::OnSurfacePointerMoved(