Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
4b9598e3
Commit
4b9598e3
authored
May 25, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webview暂存
parent
69dbb850
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
WebView.ts
egret/src/webview/WebView.ts
+3
-1
No files found.
egret/src/webview/WebView.ts
View file @
4b9598e3
...
...
@@ -49,7 +49,9 @@ export default class WebView extends egret.DisplayObjectContainer {
var
matrixdata
=
matrixstr
[
1
].
split
(
"("
);
var
matrixdata1
=
matrixdata
[
1
].
split
(
")"
)[
0
];
var
matrixdata2
=
matrixdata1
.
split
(
","
);
console
.
log
(
"缩放详细"
,
matrixdata1
);
console
.
log
(
"缩放详细"
,
matrixdata2
);
var
scaleX
=
Number
(
matrixdata2
[
0
]);
var
scaleY
=
Number
(
matrixdata2
[
3
]);
var
body
=
document
.
body
;
// stageDelegateDom.style.width="100%";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment