comparison libinterp/dldfcn/__init_fltk__.cc @ 21641:6459479840ba

Restore rotate capability for FLTK toolkit (bug #47698). * __init_fltk__.cc: Invert logical test for legend so that legends cannot be rotated.
author Rik <rik@octave.org>
date Thu, 21 Apr 2016 20:19:47 -0700
parents bc9aa534bc29
children 7bdfa98a98a3
comparison
equal deleted inserted replaced
21640:3d99ba3d08c1 21641:6459479840ba
1640 axes::properties& ap = 1640 axes::properties& ap =
1641 dynamic_cast<axes::properties&> 1641 dynamic_cast<axes::properties&>
1642 (ax_obj.get_properties ()); 1642 (ax_obj.get_properties ());
1643 1643
1644 // Don't pan or rotate legend 1644 // Don't pan or rotate legend
1645 if (ap.get_tag () == "legend") 1645 if (ap.get_tag () != "legend")
1646 { 1646 {
1647 if (rotate_enabled ()) 1647 if (rotate_enabled ())
1648 view2status (ax_obj); 1648 view2status (ax_obj);
1649 else 1649 else
1650 pixel2status (ax_obj, pos_x, pos_y, 1650 pixel2status (ax_obj, pos_x, pos_y,