From 48f592d2528f78ef9b3bf16b4f691fc83ecb50cb Mon Sep 17 00:00:00 2001 From: Zhilkin Serg Date: Fri, 15 Nov 2024 11:55:05 +0300 Subject: [PATCH 1/2] Fix debug menu size --- src/debug_menu.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/debug_menu.cpp b/src/debug_menu.cpp index 3b43c517d0d9b..7e8171c75168a 100644 --- a/src/debug_menu.cpp +++ b/src/debug_menu.cpp @@ -1068,7 +1068,6 @@ static std::optional debug_menu_uilist( bool display_all_entri // sense and can be auto–sized. uilist debug = uilist(); debug.text = msg; - debug.desired_bounds = { -1.0, -1.0, 0.5, 0.5 }; debug.entries = menu; debug.query(); const int group = debug.ret; From cd8ed10c64f7be76c2bdb14348628a8ea313f12d Mon Sep 17 00:00:00 2001 From: Zhilkin Serg Date: Fri, 15 Nov 2024 11:56:15 +0300 Subject: [PATCH 2/2] Fix debug temperature input --- src/debug_menu.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/debug_menu.cpp b/src/debug_menu.cpp index 7e8171c75168a..68a2e46c97d53 100644 --- a/src/debug_menu.cpp +++ b/src/debug_menu.cpp @@ -3222,7 +3222,6 @@ static void debug_menu_force_temperature() int ret = pop.title( string_format( _( "Set temperature to? [%s]" ), unit ) ) .width( 20 ) .text( current ? std::to_string( *current ) : "" ) - .only_digits( true ) .query_int(); return pop.canceled() ? current : std::optional( static_cast( ret ) );