drag and drop layer is now created on stage instantiation, and is removed and added as needed

This commit is contained in:
Eric Rowell
2013-01-12 23:39:56 -08:00
parent ed579e4843
commit 5cda46be69
4 changed files with 36 additions and 20 deletions

View File

@@ -1936,6 +1936,7 @@ Test.Modules.NODE = {
stage.add(layer);
test(stage.getAbsoluteZIndex() === 0, 'stage abs zindex should be 0');
console.log(layer.getAbsoluteZIndex());
test(layer.getAbsoluteZIndex() === 1, 'layer abs zindex should be 1');
test(group1.getAbsoluteZIndex() === 2, 'group1 abs zindex should be 2');
test(group2.getAbsoluteZIndex() === 3, 'group2 abs zindex should be 3');