From 2860db3fbd497fc790a1fb3b60680744113107ba Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 21 Nov 2024 08:44:36 +0800 Subject: [PATCH] feat: use InputAction.ZOOM for scroll wheel in free flight handler --- thermion_dart/lib/src/input/src/delegate_input_handler.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermion_dart/lib/src/input/src/delegate_input_handler.dart b/thermion_dart/lib/src/input/src/delegate_input_handler.dart index 3534e67b..e100152f 100644 --- a/thermion_dart/lib/src/input/src/delegate_input_handler.dart +++ b/thermion_dart/lib/src/input/src/delegate_input_handler.dart @@ -99,7 +99,7 @@ class DelegateInputHandler implements InputHandler { movementSensitivity: movementSensitivity), actions: { InputType.MMB_HOLD_AND_MOVE: InputAction.ROTATE, - InputType.SCROLLWHEEL: InputAction.TRANSLATE, + InputType.SCROLLWHEEL: InputAction.ZOOM, InputType.LMB_HOLD_AND_MOVE: InputAction.TRANSLATE, InputType.KEYDOWN_A: InputAction.TRANSLATE, InputType.KEYDOWN_W: InputAction.TRANSLATE,