diff --git a/fireplace-swing/src/main/java/io/github/bric3/fireplace/flamegraph/ButterflyView.java b/fireplace-swing/src/main/java/io/github/bric3/fireplace/flamegraph/ButterflyView.java index d71c3248..cbec5697 100644 --- a/fireplace-swing/src/main/java/io/github/bric3/fireplace/flamegraph/ButterflyView.java +++ b/fireplace-swing/src/main/java/io/github/bric3/fireplace/flamegraph/ButterflyView.java @@ -13,8 +13,14 @@ public class ButterflyView extends JPanel { public ButterflyView() { setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); - add((predecessorView = new FlamegraphView()).component, BorderLayout.NORTH); - add((successorsView = new FlamegraphView()).component, BorderLayout.SOUTH); + add((predecessorView = getFlamegraphView()).component, BorderLayout.NORTH); + add((successorsView = getFlamegraphView()).component, BorderLayout.SOUTH); + } + + private static FlamegraphView getFlamegraphView() { + FlamegraphView fgv = new FlamegraphView<>(); + fgv.setShowMinimap(false); + return fgv; } /**