Commit bf1dedac authored by zjz1994's avatar zjz1994

webview暂存

parent afabcb6e
......@@ -43,7 +43,13 @@ export default class WebView extends egret.DisplayObjectContainer {
public constructor(){
super();
var stageDelegateDom:HTMLElement = document.getElementById("StageDelegateDiv");
console.log("缩放比例",stageDelegateDom.style.transform);
console.log("缩放比例",stageDelegateDom.style.transform,typeof(stageDelegateDom.style.transform));
var transformstr = stageDelegateDom.style.transform;
var matrixstr = transformstr.split("matrix");
var matrixdata = matrixstr[1].split("(");
var matrixdata1 = matrixdata[1].split(")")[0];
console.log("缩放详细",matrixdata1);
var body = document.body;
// stageDelegateDom.style.width="100%";
// stageDelegateDom.style.height="100%";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment