[LON-CAPA-cvs] cvs: loncom /homework randomlabel.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Fri, 26 Apr 2002 18:19:40 -0000


sakharuk		Fri Apr 26 14:19:40 2002 EDT

  Modified files:              
    /loncom/homework	randomlabel.pm 
  Log:
   shifted symbols to the left on eps figs.
  
  
Index: loncom/homework/randomlabel.pm
diff -u loncom/homework/randomlabel.pm:1.24 loncom/homework/randomlabel.pm:1.25
--- loncom/homework/randomlabel.pm:1.24	Thu Apr 25 17:36:36 2002
+++ loncom/homework/randomlabel.pm	Fri Apr 26 14:19:40 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # random labelling tool
 #
-# $Id: randomlabel.pm,v 1.24 2002/04/25 21:36:36 sakharuk Exp $
+# $Id: randomlabel.pm,v 1.25 2002/04/26 18:19:40 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -261,7 +261,7 @@
       my $y = $Apache::randomlabel::ycoord[$i];
       my $value = $Apache::randomlabel::value[$i];
 #      my $tcX=$x*($texwidth/$wwidth) - $texwidth;
-      my $tcX=$x*($texwidth/$wwidth);
+      my $tcX=($x-10)*($texwidth/$wwidth);
 #      my $tcY=$TY1-$y*($TY1/$wheight)-2;
       my $ratio=($wwidth > 0 ? $wheight/$wwidth : 1 );
       my $tcY=$TY1-$y*($TY1/$wheight)+$texwidth*$ratio;