package com.airbnb.lotte.layers;

import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;

import com.airbnb.lotte.utils.LotteTransform3D;
import com.airbnb.lotte.utils.Observable;

public class RootLotteAnimatableLayer extends LotteAnimatableLayer {
    public RootLotteAnimatableLayer(Drawable.Callback callback) {
        super(0, callback);
    }

    @Override
    public void draw(@NonNull Canvas canvas) {
        setTransform(new Observable<>(new LotteTransform3D()));
        super.draw(canvas);
        canvas.clipRect(getBounds());
    }
}

@@ -150,99 +150,8 @@
 l;%0A%0A
-import com.airbnb.lotte.utils.LotteTransform3D;%0Aimport com.airbnb.lotte.utils.Observable;%0A%0A
 publ
@@ -381,72 +381,8 @@
 ) %7B%0A
-        setTransform(new Observable%3C%3E(new LotteTransform3D()));%0A
     

Remove transform from root layer