Skip to content

Commit

Permalink
fix: accessing BLEND_MODES from pixi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
liamf1986 committed Aug 17, 2021
1 parent 5dba914 commit a47dc9a
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions packages/base/src/core/ISkeleton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -135,7 +126,7 @@ export interface ISlotData {
color: Color;
darkColor: Color;
attachmentName: string;
blendMode: BlendMode;
blendMode: BLEND_MODES;
}

/**
Expand Down

0 comments on commit a47dc9a

Please sign in to comment.