From b62a5f10940a4773f3e6324ad1e23fc1311020e5 Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Mon, 21 Feb 2022 00:50:16 +0100 Subject: [PATCH] Less flickering when selecting a label. If you selected a label and the cursor was in another place, the label was displayed flashy in that another place. --- src/tuxpaint.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 73413214c..0ab9e2cf3 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -2936,8 +2936,6 @@ static void mainloop(void) if (label_node_to_edit) select_label_node(&old_x, &old_y); - - do_render_cur_text(0); } else if (cur_tool == TOOL_LABEL && cur_label == LABEL_APPLY) @@ -4975,8 +4973,6 @@ static void mainloop(void) if (label_node_to_edit) select_label_node(&old_x, &old_y); - - do_render_cur_text(0); } else if (cur_tool == TOOL_LABEL && cur_label == LABEL_APPLY) { @@ -28408,7 +28404,6 @@ static void select_label_node(int * old_x, int * old_y) { } update_screen_rect(&r_toolopt); - do_render_cur_text(0); /* Redraw color palette, fonts, and text controls */ draw_colors(COLORSEL_REFRESH);