Files
konva/test/unit
VladimirTechMan 940fdfe787 Only update the z-indices that do change after reordering nodes
Right now, when updating the z-index of a node in a container,
the indices of all its siblings are refreshed. However, if the
node changes its z-index from z1 to z2, we only need to refresh
the z-indexes of the node's parent's children in the closed
range [ min(z1,z2), max(z1,z2) ]. For groups and layers with
many children that will be more optimal in many cases.

In addition to the above change, this patch:
* forces the parameter of Node#setZIndex() to be in the valid
  range.
* adds the (now absent) unit tests for the methods of Node that
  change z-indices of the parent's children.
2018-07-28 18:56:37 -04:00
..
2018-07-12 11:13:00 +07:00
2017-07-28 18:40:07 +02:00
2017-07-28 18:40:07 +02:00
2018-06-05 21:28:34 +07:00
2018-07-18 14:56:46 +07:00
2017-07-28 18:40:07 +02:00