Fix some graphical bugs --nobuild

This commit is contained in:
Willy-JL
2023-10-21 21:47:28 +01:00
parent aa9287313f
commit 9fb790e5c9
2 changed files with 2 additions and 2 deletions

View File

@@ -388,7 +388,7 @@ static void draw_callback(Canvas* canvas, void* _ctx) {
elements_button_right(canvas, next); elements_button_right(canvas, next);
} }
if(state->ctx.lock_keyboard) { if(state->lock_warning) {
canvas_set_font(canvas, FontSecondary); canvas_set_font(canvas, FontSecondary);
elements_bold_rounded_frame(canvas, 14, 8, 99, 48); elements_bold_rounded_frame(canvas, 14, 8, 99, 48);
elements_multiline_text(canvas, 65, 26, "To unlock\npress:"); elements_multiline_text(canvas, 65, 26, "To unlock\npress:");

View File

@@ -48,7 +48,7 @@ void scene_config_on_enter(void* _ctx) {
variable_item_list_set_enter_callback(list, config_callback, ctx); variable_item_list_set_enter_callback(list, config_callback, ctx);
if(!ctx->attack->protocol) { if(!ctx->attack->protocol) {
variable_item_list_add(list, "None shall escape the S I N K", 0, NULL, NULL); variable_item_list_add(list, "None shall escape the SINK", 0, NULL, NULL);
} else if(ctx->attack->protocol->extra_config) { } else if(ctx->attack->protocol->extra_config) {
ctx->fallback_config_enter = config_callback; ctx->fallback_config_enter = config_callback;
ctx->attack->protocol->extra_config(ctx); ctx->attack->protocol->extra_config(ctx);