Use feed-shm offsets in fill-arrow indexing arithmetic
parent
5b63585398
commit
4ca7817735
|
@ -517,7 +517,9 @@ class OrderMode:
|
||||||
_, _, ratio = self.feed.get_ds_info()
|
_, _, ratio = self.feed.get_ds_info()
|
||||||
for i, chart in [
|
for i, chart in [
|
||||||
(arrow_index, self.chart),
|
(arrow_index, self.chart),
|
||||||
(self.feed.startup_hist_index + round(arrow_index/ratio),
|
(self.feed.izero_hist
|
||||||
|
+
|
||||||
|
round((arrow_index - self.feed.izero_rt)/ratio),
|
||||||
self.hist_chart)
|
self.hist_chart)
|
||||||
]:
|
]:
|
||||||
self.arrows.add(
|
self.arrows.add(
|
||||||
|
|
Loading…
Reference in New Issue