From ae459bd8206ec5ff98661162b1b9f83271de8a43 Mon Sep 17 00:00:00 2001 From: fdarosa2663 Date: Mon, 25 Sep 2023 01:58:34 -0400 Subject: [PATCH] Bug fix for TWIST_RIGHT and LEFT preventing Drag and Melt (#594) --- props/saber_fett263_buttons.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/props/saber_fett263_buttons.h b/props/saber_fett263_buttons.h index 05e0b7a2b..fdcee1b9b 100644 --- a/props/saber_fett263_buttons.h +++ b/props/saber_fett263_buttons.h @@ -2545,6 +2545,7 @@ SaberFett263Buttons() : PropBase() {} // Start Menu Mode void StartMenu(MenuType menu) { + twist_menu_ = M_PI / 4; current_menu_angle_ = fusor.angle2(); menu_type_ = menu; menu_ = true; @@ -4458,6 +4459,7 @@ SaberFett263Buttons() : PropBase() {} } menu_type_ = MENU_TOP; menu_ = false; + twist_menu_ = M_PI / 2; wav_player.Free(); } @@ -6458,7 +6460,7 @@ SaberFett263Buttons() : PropBase() {} int sub_dial_; // Sub menu dial "tick" int arg_dial_; // Argument Sub menu dial "tick" int gesture_num_; - float twist_menu_ = M_PI / 4; // Twist Menu sensitivity + float twist_menu_ = M_PI / 2; // default Twist Right / Left sensitivity bool choice_ = false; // Edit Mode selection confirmation // for True/False control when deleting, disabling/enabling or copying