diff scripts/plot/util/pan.m @ 21758:ffad2baa90f7

maint: Use newlines to make code more readable.
author Rik <rik@octave.org>
date Fri, 20 May 2016 15:46:45 -0700
parents 516bb87ea72e
children bac0d6f07a3e
line wrap: on
line diff
--- a/scripts/plot/util/pan.m	Fri May 20 12:03:39 2016 -0700
+++ b/scripts/plot/util/pan.m	Fri May 20 15:46:45 2016 -0700
@@ -106,14 +106,16 @@
 endfunction
 
 function update_mouse_mode (hfig, arg)
+
   if (strcmp (arg, "off"))
     set (hfig, "__mouse_mode__", "none");
   else
-    ## FIXME: Is there a better way other than calling these
-    ## functions to set the other mouse mode Enable fields to
-    ## "off"?
+    ## FIXME: Is there a better way other than calling these functions
+    ##        to set the other mouse mode Enable fields to "off"?
     rotate3d ("off");
     zoom ("off");
     set (hfig, "__mouse_mode__", "pan");
   endif
+
 endfunction
+