comparison libinterp/dldfcn/__init_fltk__.cc @ 20061:402e6678673b

Redraw FLTK figure after double-click "zoom out". * __init_fltk__.cc (handle): Use mark_modified() after setting auto axis limits so that figure will be redrawn.
author Rik <rik@octave.org>
date Thu, 09 Apr 2015 16:13:59 -0700
parents 76b1168342c0
children de1377a638d7
comparison
equal deleted inserted replaced
20060:76b1168342c0 20061:402e6678673b
1682 { 1682 {
1683 // Double click 1683 // Double click
1684 set_on_ax_obj ("xlimmode", "auto"); 1684 set_on_ax_obj ("xlimmode", "auto");
1685 set_on_ax_obj ("ylimmode", "auto"); 1685 set_on_ax_obj ("ylimmode", "auto");
1686 set_on_ax_obj ("zlimmode", "auto"); 1686 set_on_ax_obj ("zlimmode", "auto");
1687 mark_modified ();
1687 return 1; 1688 return 1;
1688 } 1689 }
1689 if (Fl::event_button () == 3) 1690 if (Fl::event_button () == 3)
1690 { 1691 {
1691 // End of drag -- zoom. 1692 // End of drag -- zoom.