Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/util
In directory usw-pr-cvs1:/tmp/cvs-serv20509/src/lib/dynapi/util
Modified Files:
pathanim.js
Log Message:
Christof Pohl's fix for PathAnimation.run()
Index: pathanim.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/util/pathanim.js,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** pathanim.js 2001/03/29 00:19:47 1.12
--- pathanim.js 2001/08/14 21:35:48 1.13
***************
*** 61,64 ****
--- 61,67 ----
if (!this.playing || this.pathPlaying==null) return;
var anim = this.pathPlaying;
+ if (anim.frame==0 && (this.dlyr!=null && this.dlyr.x==anim[0] &&
+this.dlyr.y==anim[1])) {
+ anim.frame += 1;
+ }
if (anim.frame>=anim.length/2) {
if (anim.loops) {
***************
*** 76,82 ****
return;
}
- }
- if (anim.frame==0 && (this.dlyr!=null && this.dlyr.x==anim[0] &&
this.dlyr.y==anim[1])) {
- anim.frame += 1;
}
this.newX = anim[anim.frame*2];
--- 79,82 ----
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs