fenix-hub / godot-engine.easy-charts

A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.
MIT License
648 stars 48 forks source link

Bug: small window that displays info about the different slices of a pie chart appears when it shouldn't #36

Closed lucabonengel closed 3 years ago

lucabonengel commented 3 years ago

Describe the bug If a pie chart is a child of a tab container and its tab is not open, the small window that shows info about the different slices of the pie chart still appears.

To Reproduce Steps to reproduce the behavior:

  1. Create a node2D in a 2D scene.
  2. Click on add child node and select tab container.
  3. Click on add child node and create at least two tabs.
  4. In one of the tabs, click on add child node and add a Node2D.
  5. Click on add child node and add a Control node to it.
  6. Click on Instance Child Scene and select PieChart.
  7. In 'Source', select pie.csv.
  8. Set ',' as delimiter.
  9. Select gradient in Template
  10. Add a script in control and type '$PieChart.plot()' in _ready().
  11. Play the scene

Expected behavior When you open an empty tab and put your mouse over it, the small window of the pie chart that is stored in one of the other tabs should appear.

Screenshots

Screenshot 2021-01-07 at 10 44 47 Screenshot 2021-01-07 at 10 45 55

Desktop (please complete the following information):