changeset 17260:92effb035b97

Update axes position/outerpostion before and after tightinset. * libinterp/corefcn/graphics.cc (sync_positions ()): Update the position or outerposition after updating tightinset. (Bug # 39697)
author Ben Abbott <bpabbott@mac.com>
date Thu, 15 Aug 2013 19:39:55 -0400
parents 7fb4461997aa
children 533c980b5796
files libinterp/corefcn/graphics.cc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Wed Aug 07 20:18:04 2013 -0500
+++ b/libinterp/corefcn/graphics.cc	Thu Aug 15 19:39:55 2013 -0400
@@ -4085,6 +4085,10 @@
   tightinset = tinset;
   set_units (old_units);
   update_transform ();
+  if (activepositionproperty.is ("position"))
+    update_position ();
+  else
+    update_outerposition ();
 }
 
 /*