From d74362c9d867f465d887ccd0df36c07efb5e125c Mon Sep 17 00:00:00 2001 From: hgn Date: Tue, 23 Apr 2024 21:26:58 +0100 Subject: [PATCH] filter input while workshop form is open --- input.h | 3 ++- menu.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/input.h b/input.h index 131ab8c..3377824 100644 --- a/input.h +++ b/input.h @@ -187,7 +187,8 @@ struct { static srinput; static int input_filter_generic(void){ - if( srinput.state != k_input_state_enabled || vg_console.enabled ) + if( (srinput.state != k_input_state_enabled) || vg_console.enabled || + (workshop_form.page != k_workshop_form_hidden) ) return 1; else return 0; diff --git a/menu.c b/menu.c index 091deb0..279dbf5 100644 --- a/menu.c +++ b/menu.c @@ -1037,7 +1037,7 @@ void menu_gui(void) { menu.guide_sel = 0; menu_link_modal( - "https://skaterift.com/index.php?page=skating" ); + "https://skaterift.com/index.php?page=movement" ); } if( menu.guide_sel == 0 || menu.guide_sel > 3 ) menu_try_find_cam( 3 ); -- 2.25.1