From 9db4a8eb854b0c61f9ad1b17a8ff62c1d2660ae6 Mon Sep 17 00:00:00 2001 From: Drabble Date: Thu, 12 May 2022 13:22:55 +0200 Subject: [PATCH] Apply suggestions from code review --- maplibre-winit/src/input/tilt_handler.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/maplibre-winit/src/input/tilt_handler.rs b/maplibre-winit/src/input/tilt_handler.rs index 0aa818331..54b307c87 100644 --- a/maplibre-winit/src/input/tilt_handler.rs +++ b/maplibre-winit/src/input/tilt_handler.rs @@ -42,10 +42,6 @@ impl TiltHandler { } else { Deg::zero() }; - // FIXME: If the goal is to maintain the key pressed to tilt, then process_key shouldn't - // increase the delta_pitch but set it to true/false. Increasing the delta will cause - // multiple clicks to cause a bigger tilt if more than one event can occur during a - // frame. match key { winit::event::VirtualKeyCode::R => { self.delta_pitch -= amount;