[Sie-announce] SIEコード [1108] 他の要素でもradialGradient要素を適用

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 3月 23日 (月) 22:28:55 JST


Revision: 1108
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1108
Author:   dhrname
Date:     2009-03-23 22:28:55 +0900 (Mon, 23 Mar 2009)

Log Message:
-----------
他の要素でもradialGradient要素を適用

Modified Paths:
--------------
    branches/04x/046/sie.js

Modified: branches/04x/046/sie.js
===================================================================
--- branches/04x/046/sie.js	2009-03-23 13:26:18 UTC (rev 1107)
+++ branches/04x/046/sie.js	2009-03-23 13:28:55 UTC (rev 1108)
@@ -1261,7 +1261,6 @@
     ele.setAttribute("type", "gradientTitle");
     ele.setAttribute("focus", "100%");
     ele.setAttribute("focusposition", "0.5 0.5");
-    if (this.tar.getAttribute("tag") === "rect") {
     var cx = parseFloat((grad.getAttribute("cx") || "0.5").replace(/%/, ""));
     var cy = parseFloat((grad.getAttribute("cy") || "0.5").replace(/%/, ""));
     var r = rx = ry = parseFloat((grad.getAttribute("r") || "0.5").replace(/%/, ""));
@@ -1310,9 +1309,6 @@
     this.tar.setAttribute("filled", "false");
     ellipse = circle = data = list = pl = plm = gt = cx = cy = r = null;
     return true;
-    } else {
-      return false;
-    }
     } catch(e) {stlog.add(e,1175);}
   }
   } else {




Sie-announce メーリングリストの案内
アーカイブの一覧に戻る