mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts][player] PMA by default.
This commit is contained in:
parent
61f4165dae
commit
96a2386609
@ -9591,7 +9591,7 @@ var spine;
|
|||||||
if (!config.fullScreenBackgroundColor)
|
if (!config.fullScreenBackgroundColor)
|
||||||
config.fullScreenBackgroundColor = config.backgroundColor;
|
config.fullScreenBackgroundColor = config.backgroundColor;
|
||||||
if (!config.premultipliedAlpha)
|
if (!config.premultipliedAlpha)
|
||||||
config.premultipliedAlpha = false;
|
config.premultipliedAlpha = true;
|
||||||
if (!config.success)
|
if (!config.success)
|
||||||
config.success = function (widget) { };
|
config.success = function (widget) { };
|
||||||
if (!config.error)
|
if (!config.error)
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -62,7 +62,7 @@
|
|||||||
/* Optional: list of skin names from which the user can choose. */
|
/* Optional: list of skin names from which the user can choose. */
|
||||||
skins: string[]
|
skins: string[]
|
||||||
|
|
||||||
/* Optional: whether the skeleton uses premultiplied alpha. Default: false. */
|
/* Optional: whether the skeleton uses premultiplied alpha. Default: true. */
|
||||||
premultipliedAlpha: boolean
|
premultipliedAlpha: boolean
|
||||||
|
|
||||||
/* Optional: whether to show the player controls. Default: true. */
|
/* Optional: whether to show the player controls. Default: true. */
|
||||||
@ -325,7 +325,7 @@
|
|||||||
if (!config.alpha) config.alpha = false;
|
if (!config.alpha) config.alpha = false;
|
||||||
if (!config.backgroundColor) config.backgroundColor = "#000000";
|
if (!config.backgroundColor) config.backgroundColor = "#000000";
|
||||||
if (!config.fullScreenBackgroundColor) config.fullScreenBackgroundColor = config.backgroundColor;
|
if (!config.fullScreenBackgroundColor) config.fullScreenBackgroundColor = config.backgroundColor;
|
||||||
if (!config.premultipliedAlpha) config.premultipliedAlpha = false;
|
if (!config.premultipliedAlpha) config.premultipliedAlpha = true;
|
||||||
if (!config.success) config.success = (widget) => {};
|
if (!config.success) config.success = (widget) => {};
|
||||||
if (!config.error) config.error = (widget, msg) => {};
|
if (!config.error) config.error = (widget, msg) => {};
|
||||||
if (!config.debug) config.debug = {
|
if (!config.debug) config.debug = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user