Skip to content

Commit

Permalink
Fix customDidAttach of DraggableContainer example (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalochman authored Jan 31, 2019
1 parent 6ab1ec8 commit 0856c28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Fixed
- Fixed `customDidAttach` of example `<DraggableContainer />` component ([#91])


## [0.7.0] - 2018-12-27

Expand Down Expand Up @@ -240,6 +243,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
[0.2.0]: https://github.com/michalochman/react-pixi-fiber/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/michalochman/react-pixi-fiber/compare/v0.1.0...v0.1.1

[#91]: https://github.com/michalochman/react-pixi-fiber/issues/91
[#89]: https://github.com/michalochman/react-pixi-fiber/pull/89
[#85]: https://github.com/michalochman/react-pixi-fiber/issues/85
[#84]: https://github.com/michalochman/react-pixi-fiber/pull/84
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as PIXI from "pixi.js";
const TYPE = "DraggableContainer";
const behavior = {
customDisplayObject: () => new PIXI.Container(),
customDidAttach: instance => {
customDidAttach: function(instance) {
instance.interactive = true;
instance.cursor = "pointer";

Expand Down

0 comments on commit 0856c28

Please sign in to comment.