Mercurial > octave
changeset 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 | 3d99ba3d08c1 |
children | da9c75ffd1a3 |
files | libinterp/dldfcn/__init_fltk__.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/__init_fltk__.cc Thu Apr 21 16:35:54 2016 -0400 +++ b/libinterp/dldfcn/__init_fltk__.cc Thu Apr 21 20:19:47 2016 -0700 @@ -1642,7 +1642,7 @@ (ax_obj.get_properties ()); // Don't pan or rotate legend - if (ap.get_tag () == "legend") + if (ap.get_tag () != "legend") { if (rotate_enabled ()) view2status (ax_obj);