Skip to content
Snippets Groups Projects
Commit b21fe6c8 authored by Kien Le's avatar Kien Le
Browse files

Merge branch 'bug-#201-masspos_channels_not_zooming' into 'master'

Fix problem where mass position channels after the first one not being zoomed

Closes #201

See merge request !229
parents 7fb82536 23dc0633
No related branches found
No related tags found
1 merge request!229Fix problem where mass position channels after the first one not being zoomed
Pipeline #3423 passed with stage
in 8 minutes and 31 seconds
...@@ -616,7 +616,7 @@ class PlottingWidget(QtWidgets.QScrollArea): ...@@ -616,7 +616,7 @@ class PlottingWidget(QtWidgets.QScrollArea):
total_points = 0 total_points = 0
tr_min_ys = [] tr_min_ys = []
tr_max_ys = [] tr_max_ys = []
x, y = ax.x_list, ax.y_list x, y = ax.x_center, ax.y_center
if len(x) == 0: if len(x) == 0:
continue continue
if self.min_x > x[-1] or self.max_x < x[0]: if self.min_x > x[-1] or self.max_x < x[0]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment