mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts][player] Fixes for default post/prefix.
This commit is contained in:
parent
e5646f0370
commit
9409a772c6
@ -10418,7 +10418,7 @@ var spine;
|
|||||||
(function (spine) {
|
(function (spine) {
|
||||||
var SpinePlayerEditor = (function () {
|
var SpinePlayerEditor = (function () {
|
||||||
function SpinePlayerEditor(parent) {
|
function SpinePlayerEditor(parent) {
|
||||||
this.prefix = "<html>\n<body>".trim();
|
this.prefix = "<html>\n<head>\n<style>\nbody {\n\tmargin: 0px;\n}\n</style>\n</head>\n<body>".trim();
|
||||||
this.postfix = "</body>";
|
this.postfix = "</body>";
|
||||||
this.render(parent);
|
this.render(parent);
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -19,6 +19,13 @@ new spine.SpinePlayer("player-container", {
|
|||||||
|
|
||||||
private prefix: string =
|
private prefix: string =
|
||||||
`<html>
|
`<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
<body>`.trim()
|
<body>`.trim()
|
||||||
private postfix: string = `</body>`;
|
private postfix: string = `</body>`;
|
||||||
private code: any;
|
private code: any;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user