Mercurial > hg > octave-nkf
changeset 16830:4c51eaffa9e4
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.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 23 Jun 2013 19:38:59 -0700 |
parents | f2e09c9bcb7a |
children | 5893eb92361a |
files | libinterp/interpfcn/graphics.in.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 (); }