Mercurial > octave-libtiff
changeset 19652:5b4fd7ebcfc6
Update "tightinset" when "x/yaxislocation" is changed
* graphics.cc (axes::properties::update_x/yaxislocation): first call sync_positions to update the tightinset.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Mon, 02 Feb 2015 21:09:46 +0100 |
parents | 885d38747cd5 |
children | b95aab49b6be |
files | libinterp/corefcn/graphics.in.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Mon Jan 27 15:52:57 2014 +0100 +++ b/libinterp/corefcn/graphics.in.h Mon Feb 02 21:09:46 2015 +0100 @@ -3958,11 +3958,13 @@ void update_layer (void) { update_axes_layout (); } void update_yaxislocation (void) { + sync_positions (); update_axes_layout (); update_ylabel_position (); } void update_xaxislocation (void) { + sync_positions (); update_axes_layout (); update_xlabel_position (); }