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

log_linearized_curve_overlays
Tyler Goodlet 2023-02-08 17:23:36 -05:00
parent c646b435bf
commit 74c215d5b2
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: