Skip to content

Commit

Permalink
Fix image alphaMode type
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Aug 9, 2023
1 parent c19c234 commit 63f14b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/jsx-entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,14 @@ type OptionalParams<T> = Partial<T> | true;
export interface JSXComponentData extends ComponentData {
slice9?: {
size: [width: number, height: number];
insets: [top: number, buttom: number, left: number, right: number];
insets: [top: number, bottom: number, left: number, right: number];
texture: Texture;
};
image?: {
texture: Texture;
ratio: number;
projection: ProjectionMode;
alphaMode: AlphaMode.Blend | AlphaMode.Mask | AlphaMode.Opaque;
alphaMode: AlphaMode;
cacheKey: string;
};
video?: VideoParams;
Expand Down

0 comments on commit 63f14b7

Please sign in to comment.