@@ -8048,7 +8048,7 @@ void menu_lcd_longpress_func(void)
8048
8048
// explicitely listed menus which are allowed to rise the move-z or live-adj-z functions
8049
8049
// The lists are not the same for both functions, so first decide which function is to be performed
8050
8050
if ( (moves_planned () || IS_SD_PRINTING || usb_timer.running () )){ // long press as live-adj-z
8051
- if (( current_position[Z_AXIS] < Z_HEIGHT_HIDE_LIVE_ADJUST_MENU ) // only allow live-adj-z up to 2mm of print height
8051
+ if (( current_position[Z_AXIS] < Z_HEIGHT_HIDE_LIVE_ADJUST_MENU ) // only allow live-adj-z up to 2mm of print height
8052
8052
&& ( menu_menu == lcd_status_screen // and in listed menus...
8053
8053
|| menu_menu == lcd_main_menu
8054
8054
|| menu_menu == lcd_tune_menu
@@ -8058,12 +8058,10 @@ void menu_lcd_longpress_func(void)
8058
8058
lcd_clear ();
8059
8059
menu_submenu (lcd_babystep_z);
8060
8060
} else {
8061
- // otherwise consume the long press as normal click
8062
- if ( menu_menu != lcd_status_screen )
8063
- menu_back ();
8061
+ lcd_quick_feedback ();
8064
8062
}
8065
8063
} else { // long press as move-z
8066
- if (menu_menu == lcd_status_screen
8064
+ if (menu_menu == lcd_status_screen
8067
8065
|| menu_menu == lcd_main_menu
8068
8066
|| menu_menu == lcd_preheat_menu
8069
8067
|| menu_menu == lcd_sdcard_menu
@@ -8076,9 +8074,7 @@ void menu_lcd_longpress_func(void)
8076
8074
){
8077
8075
menu_submenu (lcd_move_z);
8078
8076
} else {
8079
- // otherwise consume the long press as normal click
8080
- if ( menu_menu != lcd_status_screen )
8081
- menu_back ();
8077
+ lcd_quick_feedback ();
8082
8078
}
8083
8079
}
8084
8080
}
0 commit comments