Files
konva/test
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-05-24 11:21:48 +09:00
2015-01-27 00:07:51 -07:00
2018-05-24 11:21:48 +09:00
2018-07-03 11:03:06 +07:00
2015-01-27 00:07:51 -07:00
2018-05-24 11:21:48 +09:00
2017-07-28 18:40:07 +02:00
2016-10-25 09:03:25 -06:00