Skip to content

Commit

Permalink
Plugins: fix indicator placement by changing Group to Pane
Browse files Browse the repository at this point in the history
  • Loading branch information
wirew0rm committed Aug 10, 2023
1 parent 110f856 commit 1bdf1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chartfx-chart/src/main/java/io/fair_acc/chartfx/Chart.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1bdf1a6

Please sign in to comment.