From a47dc9affed630a04af8a8b5749ca9fe25e9b91d Mon Sep 17 00:00:00 2001 From: Liam Faulkner Date: Tue, 17 Aug 2021 11:58:14 +0100 Subject: [PATCH] fix: accessing BLEND_MODES from pixi.js --- packages/base/src/core/ISkeleton.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/packages/base/src/core/ISkeleton.ts b/packages/base/src/core/ISkeleton.ts index d353af75..6000aa01 100644 --- a/packages/base/src/core/ISkeleton.ts +++ b/packages/base/src/core/ISkeleton.ts @@ -3,16 +3,7 @@ import type {Color, Vector2, Map} from './Utils'; import type {TextureRegion} from './TextureRegion'; import type {Matrix} from '@pixi/math'; - -/** - * @public - */ - export enum BlendMode { - Normal, - Additive, - Multiply, - Screen -} +import {BLEND_MODES} from '@pixi/constants'; /** * @public @@ -135,7 +126,7 @@ export interface ISlotData { color: Color; darkColor: Color; attachmentName: string; - blendMode: BlendMode; + blendMode: BLEND_MODES; } /**