Reputation: 72
I upgraded my scripts to use kinetic.js 4.0.2 because of another bugfix. Now all elements I created as Polygon ar not showing up anymore. If I console.log() on the objects they seem to exist but they are not drawn.
Even the minimum Polygon:
var test = new Kinetic.Polygon({
points: [10,10,20,50, 100,100,10,10]
});
does not show up. Any other things lines, text, images work still fine.
Did anyone also notices this behaviour?
Upvotes: 0
Views: 252
Reputation: 486
Looks like Kinetic is starting to enforce x, y pair mappings for points and no longer accepting one long array of co-ordinates. You can see it here.
Upvotes: 1