From 1bdf1a6a22195c270cded1df9399a4fb1edafb4c Mon Sep 17 00:00:00 2001 From: Alexander Krimm Date: Thu, 10 Aug 2023 13:45:54 +0200 Subject: [PATCH] Plugins: fix indicator placement by changing Group to Pane --- chartfx-chart/src/main/java/io/fair_acc/chartfx/Chart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chartfx-chart/src/main/java/io/fair_acc/chartfx/Chart.java b/chartfx-chart/src/main/java/io/fair_acc/chartfx/Chart.java index f4ff8d123..43835cd1f 100644 --- a/chartfx-chart/src/main/java/io/fair_acc/chartfx/Chart.java +++ b/chartfx-chart/src/main/java/io/fair_acc/chartfx/Chart.java @@ -120,7 +120,7 @@ public abstract class Chart extends Region implements EventSource { // Inner canvas for the drawn content protected final ResizableCanvas canvas = new ResizableCanvas(); protected final Pane canvasForeground = new Pane(); - protected final Group pluginsArea = Chart.createChildGroup(); + protected final Pane pluginsArea = new Pane(); // was `Chart.createChildGroup()` but this leads to wrong coordinate transformations with the new layout // Area where plots get drawn protected final Pane plotBackground = new Pane();