[ts][player] Fixes for default post/prefix.

This commit is contained in:
badlogic 2018-12-20 15:27:32 +01:00
parent e5646f0370
commit 9409a772c6
3 changed files with 9 additions and 2 deletions

View File

@ -10418,7 +10418,7 @@ var spine;
(function (spine) {
var SpinePlayerEditor = (function () {
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.render(parent);
}

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,13 @@ new spine.SpinePlayer("player-container", {
private prefix: string =
`<html>
<head>
<style>
body {
margin: 0px;
}
</style>
</head>
<body>`.trim()
private postfix: string = `</body>`;
private code: any;