Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/hairyf/vue3-pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Mao committed Dec 10, 2023
2 parents b479265 + 488dc6a commit b27a0da
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 41 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ yarn add vue3-pixi
- https://github.com/hairyf/vue3-pixi-flappy-bird
- https://github.com/hairyf/vue3-pixi-dino

## other

> Unemployed, working hard to find a job, updating after stabilization
## License

[MIT](./LICENSE) License © 2023-PRESENT [hairyf](https://github.com/hairyf)
2 changes: 1 addition & 1 deletion packages/vue3-pixi-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@pixi/ui": "^0.9.0",
"pixi.js": "^7.2.4",
"pixi.js": "^7.3.2",
"vue-demi": "^0.14.1",
"vue3-pixi": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3-pixi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@antfu/utils": "^0.7.2",
"@vueuse/core": "^10.1.2",
"nanoid": "^4.0.2",
"pixi.js": "^7.2.4",
"pixi.js": "^7.3.2",
"vue-demi": "^0.14.1"
},
"devDependencies": {
Expand Down
8 changes: 5 additions & 3 deletions packages/vue3-pixi/src/elements/events/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { Container, DisplayObject, DisplayObjectEvents } from 'pixi.js'
import type { Container, DisplayObject } from 'pixi.js'

export type PixiEvents = DisplayObjectEvents & {
// from container
export interface PixiEvents {
added: [container: Container]
childAdded: [child: DisplayObject, container: Container, index: number]
childRemoved: [child: DisplayObject, container: Container, index: number]
destroyed: []
removed: [container: Container]
}
Loading

1 comment on commit b27a0da

@vercel
Copy link

@vercel vercel bot commented on b27a0da Dec 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue3-pixi – ./

vue3-pixi-tuimao.vercel.app
vue3-pixi.vercel.app
vue3-pixi-git-main-tuimao.vercel.app

Please sign in to comment.