# HG changeset patch # User Rik # Date 1372041539 25200 # Node ID 4c51eaffa9e463e5ab5a1c4ab04b01e9d96eb055 # Parent f2e09c9bcb7a67f34ea61fdeff17d68f8c47beb2 Update Text object color after property value has changed (bug #37007). * libinterp/interpfcn/graphics.in.h(update_color): After changing color property call update_text_extent() to force renderer to redraw. diff --git a/libinterp/interpfcn/graphics.in.h b/libinterp/interpfcn/graphics.in.h --- a/libinterp/interpfcn/graphics.in.h +++ b/libinterp/interpfcn/graphics.in.h @@ -4355,7 +4355,7 @@ void update_font (void); void update_string (void) { request_autopos (); update_text_extent (); } void update_rotation (void) { update_text_extent (); } - void update_color (void) { update_font (); } + void update_color (void) { update_font (); update_text_extent (); } void update_fontname (void) { update_font (); update_text_extent (); } void update_fontsize (void) { update_font (); update_text_extent (); } void update_fontangle (void) { update_font (); update_text_extent (); }