Skip to content

Commit

Permalink
Bug fix for TWIST_RIGHT and LEFT preventing Drag and Melt (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdarosa2663 authored and profezzorn committed Sep 29, 2023
1 parent 1abd9f4 commit ae459bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion props/saber_fett263_buttons.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -4458,6 +4459,7 @@ SaberFett263Buttons() : PropBase() {}
}
menu_type_ = MENU_TOP;
menu_ = false;
twist_menu_ = M_PI / 2;
wav_player.Free();
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae459bd

Please sign in to comment.