Cast back to float from decimal for cursor y-increment

rekt_pps
Tyler Goodlet 2023-03-20 21:22:21 -04:00
parent 6431071b2a
commit 335e8d10d4
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ class Cursor(pg.GraphicsObject):
# value used for rounding y-axis discreet tick steps # value used for rounding y-axis discreet tick steps
# computing once, up front, here cuz why not # computing once, up front, here cuz why not
self._y_incr_mult = 1 / self.linked._symbol.tick_size self._y_incr_mult = float(1 / self.linked._symbol.tick_size)
# line width in view coordinates # line width in view coordinates
self._lw = self.pixelWidth() * self.lines_pen.width() self._lw = self.pixelWidth() * self.lines_pen.width()