Diff of /lib/Panotools/Script.pm [75e66c] .. [35184b] Maximize Restore

  Switch to side-by-side view

--- a/lib/Panotools/Script.pm
+++ b/lib/Panotools/Script.pm
@@ -797,8 +797,8 @@
     my ($image0, $image1, $maxShift) = @_;
     my $minShift = 360.0 - $maxShift;
     return 1
-        if ( (abs ($image0->{y} - $image1->{y}) < $maxShift || abs ($image0->{y} - $image1->{y}) > $minShift)
-                && abs ($image0->{p} - $image1->{p}) < $maxShift );
+        if ( (abs ($image0->y - $image1->y) < $maxShift || abs ($image0->y - $image1->y) > $minShift)
+                && abs ($image0->p - $image1->p) < $maxShift );
     return 0;
 }