Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The function sortByZOrder() throws the exception if a frame consists any points #232

Closed
bsekachev opened this issue Dec 13, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@bsekachev
Copy link
Member

Scenario:

  • In a task with the enabled z-order flag try to change z-order for a points shape.
Uncaught TypeError: Cannot read property 'nodeValue' of undefined
    at content.find.toArray.sort (shapeCollection.js:1568)
    at Array.sort (:7000/native)
    at Function.sortByZOrder (shapeCollection.js:1567)
    at PointsView.onShapeUpdate (shapes.js:2485)
    at PointsModel.notify (listener.js:48)
    at PointsModel.notify (shapes.js:203)
    at PointsModel.set active [as active] (shapes.js:519)
    at ShapeCollectionModel.resetActive (shapeCollection.js:485)
    at ShapeCollectionController.resetActive (shapeCollection.js:1078)
    at HTMLDivElement.ShapeCollectionView.$.on (shapeCollection.js:1211)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants