package org.autojs.autojs.external.tile;

import android.content.Context;

import org.autojs.autojs.core.accessibility.NodeInfo;
import org.autojs.autojs.ui.floating.FullScreenFloatyWindow;
import org.autojs.autojs.ui.floating.layoutinspector.LayoutBoundsFloatyWindow;

public class LayoutBoundsTile extends LayoutInspectTileService {

    @Override
    protected FullScreenFloatyWindow onCreateWindow(NodeInfo capture, Context context) {
        return new LayoutBoundsFloatyWindow(capture, context, true) {
            @Override
            public void close() {
                super.close();
                updateTile();
            }
        };
    }

}
