Make hggroup to react on [xyzac]liminclude changes in its children.
1 Make hggroup to react on [xyzac]liminclude changes in its children.
3 diff -r 09184f7bdc07 src/ChangeLog
4 --- a/src/ChangeLog Mon Sep 01 09:49:31 2008 +0200
5 +++ b/src/ChangeLog Mon Sep 01 13:19:04 2008 +0200
7 +2008-09-01 Michael Goffioul <michael.goffioul@gmail.com>
9 + * graphics.cc (hggroup::update_axis_limits): Also reacts on
10 + [xyzac]liminclude changes.
12 2008-08-31 Michael Goffioul <michael.goffioul@gmail.com>
14 * DLD-FUNCTIONS/fltk_backend.cc (fltk_backend::redraw_figure,
15 diff -r 09184f7bdc07 src/graphics.cc
16 --- a/src/graphics.cc Mon Sep 01 09:49:31 2008 +0200
17 +++ b/src/graphics.cc Mon Sep 01 13:19:04 2008 +0200
18 @@ -3484,32 +3484,32 @@
22 - if (axis_type == "xlim")
23 + if (axis_type == "xlim" || axis_type == "xliminclude")
25 get_children_limits (min_val, max_val, min_pos, kids, 'x');
29 - else if (axis_type == "ylim")
30 + else if (axis_type == "ylim" || axis_type == "yliminclude")
32 get_children_limits (min_val, max_val, min_pos, kids, 'y');
36 - else if (axis_type == "zlim")
37 + else if (axis_type == "zlim" || axis_type == "zliminclude")
39 get_children_limits (min_val, max_val, min_pos, kids, 'z');
43 - else if (axis_type == "clim")
44 + else if (axis_type == "clim" || axis_type == "climinclude")
46 get_children_limits (min_val, max_val, min_pos, kids, 'c');
51 - else if (axis_type == "alim")
52 + else if (axis_type == "alim" || axis_type == "aliminclude")
54 get_children_limits (min_val, max_val, min_pos, kids, 'a');