Update specmap and sb2 import to add new fields to layering blocks.

This commit is contained in:
Paul Kaplan 2017-12-28 14:52:06 -05:00
parent fe51bd6450
commit 477ef531ba
3 changed files with 21 additions and 3 deletions

View file

@ -293,8 +293,12 @@ test('layers', t => {
a.renderer = renderer;
a.goToFront();
t.equals(a.renderer.order, 5);
a.goBackLayers(2);
a.goBackwardLayers(2);
t.equals(a.renderer.order, 3);
a.goToBack();
t.equals(a.renderer.order, 1);
a.goForwardLayers(1);
t.equals(a.renderer.order, 2);
o.drawableID = 999;
a.goBehindOther(o);
t.equals(a.renderer.order, 1);