changeset 830:2a73ff24c141

Use accessor to replace the method to setup the opacity
author wycc
date Wed, 15 Sep 2010 01:18:49 +0800
parents 379fd510ba38
children 904b6928f727
files nodejs/svg.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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) {