mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +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)
|
||||
config.fullScreenBackgroundColor = config.backgroundColor;
|
||||
if (!config.premultipliedAlpha)
|
||||
config.premultipliedAlpha = false;
|
||||
config.premultipliedAlpha = true;
|
||||
if (!config.success)
|
||||
config.success = function (widget) { };
|
||||
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. */
|
||||
skins: string[]
|
||||
|
||||
/* Optional: whether the skeleton uses premultiplied alpha. Default: false. */
|
||||
/* Optional: whether the skeleton uses premultiplied alpha. Default: true. */
|
||||
premultipliedAlpha: boolean
|
||||
|
||||
/* Optional: whether to show the player controls. Default: true. */
|
||||
@ -325,7 +325,7 @@
|
||||
if (!config.alpha) config.alpha = false;
|
||||
if (!config.backgroundColor) config.backgroundColor = "#000000";
|
||||
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.error) config.error = (widget, msg) => {};
|
||||
if (!config.debug) config.debug = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user