Skip to content

Commit

Permalink
fix: wrong address for scales in plot view
Browse files Browse the repository at this point in the history
  • Loading branch information
bartei81 committed Aug 11, 2024
1 parent a9d7692 commit 1b25625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rotary_controller_python/components/plot/float_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, **kwargs):
self.app.bind(update_tick=self.update_tick)

def update_tick(self, *arg, **kv):
coord_bars: list[CoordBar] = self.app.scales
coord_bars: list[CoordBar] = self.app.home.scales
self.tool_x = coord_bars[0].scaledPosition
self.tool_y = coord_bars[1].scaledPosition

Expand Down

0 comments on commit 1b25625

Please sign in to comment.