[Sie-announce] SIEコード [2915] 統合に失敗していたのを修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 9月 2日 (金) 21:46:45 JST


Revision: 2915
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2915
Author:   dhrname
Date:     2011-09-02 21:46:45 +0900 (Fri, 02 Sep 2011)

Log Message:
-----------
統合に失敗していたのを修正

Modified Paths:
--------------
    trunk/sie.js

Modified: trunk/sie.js
===================================================================
--- trunk/sie.js	2011-09-02 12:25:36 UTC (rev 2914)
+++ trunk/sie.js	2011-09-02 12:46:45 UTC (rev 2915)
@@ -1,4 +1,4 @@
-/*SIE-SVG without Plugin under LGPL2.1 & GPL2.0 & Mozilla Public Lisence
+/*SIE-SVG without Plugin under LGPL2.1 & GPL2.0 & Mozilla Public Lisence
  *公式ページは http://sie.sourceforge.jp/
  *利用方法は <script defer="defer" type="text/javascript" src="sie.js"></script>
  *http://sie.sourceforge.jp/
@@ -4111,8 +4111,6 @@
       tar.setAttributeNodeNS(att);
     }
     str = attr = null;
-    ifr.style.width = tview.width+3+ "px";
-    ifr.style.height = tview.height+3+ "px";
     dcp.style.width = tview.width+ "px";
     dcp.style.height = tview.height+ "px";
     dcp.coordsize = tview.width+ " " +tview.height;
@@ -4157,7 +4155,11 @@
     tpstyle = objei.style;
     trstyle.visibility = "visible";
     trstyle.position = "absolute";
+    /*以下、画像を切り取り*/
     trstyle.overflow = "hidden";
+    /*ウィンドウ枠の長さを決定する*/
+    viewWidth = w > sw ? sw : w;
+    viewHeight = h > sh ? sh : h;
     backrs = backr.currentStyle;
     bfl = _parseFloat(backrs.left);
     bft = _parseFloat(backrs.top);




Sie-announce メーリングリストの案内
Back to archive index