diff nodejs/svg.js @ 830:2a73ff24c141

Use accessor to replace the method to setup the opacity
author wycc
date Wed, 15 Sep 2010 01:18:49 +0800
parents 84853c8559cf
children 76fe4afce640
line wrap: on
line diff
--- a/nodejs/svg.js	Wed Sep 15 01:17:43 2010 +0800
+++ b/nodejs/svg.js	Wed Sep 15 01:18:49 2010 +0800
@@ -536,7 +536,7 @@
     parseGroupStyle(style, n);
     if(style.opacity) {
 	sys.puts(style.opacity);
-	coord.set_opacity(style.opacity);
+	coord.opacity=style.opacity;
     }
 
     for(k in nodes) {