package p.studio.controls.shell;

import javafx.scene.Node;
import javafx.scene.layout.BorderPane;
import p.studio.controls.lifecycle.StudioControlLifecycle;
import p.studio.controls.lifecycle.StudioControlLifecycleSupport;

public final class StudioShellTopBarControl extends BorderPane implements StudioControlLifecycle {
    public StudioShellTopBarControl(Node menuBar) {
        StudioControlLifecycleSupport.install(this, this);
        getStyleClass().add("studio-shell-top-bar");
        setLeft(menuBar);
    }
}
