Lel, always meant to no-cache the step curve..

storage_cli
Tyler Goodlet 2023-02-08 17:23:36 -05:00
parent 372f298b23
commit 45368ff19d
1 changed files with 5 additions and 3 deletions

View File

@ -407,9 +407,6 @@ class Curve(FlowGraphic):
# (via it's max / min) even when highly zoomed out. # (via it's max / min) even when highly zoomed out.
class FlattenedOHLC(Curve): class FlattenedOHLC(Curve):
# avoids strange dragging/smearing artifacts when panning..
cache_mode: int = QGraphicsItem.NoCache
def draw_last_datum( def draw_last_datum(
self, self,
path: QPainterPath, path: QPainterPath,
@ -435,6 +432,11 @@ class FlattenedOHLC(Curve):
class StepCurve(Curve): class StepCurve(Curve):
# avoids strange dragging/smearing artifacts when panning
# as well as mouse over artefacts when the vlm chart series
# is "shorter" then some overlay..
cache_mode: int = QGraphicsItem.NoCache
def declare_paintables( def declare_paintables(
self, self,
) -> None: ) -> None: