Go back to caching on all curves

Despite there being artifacts when interacting, the speedups when
cross-hair-ing are just too good to ignore. We can always play with
disabling caches when interaction takes place much like we do with feed
pausing.
log_linearized_curve_overlays
Tyler Goodlet 2023-02-09 14:57:00 -05:00
parent 091afccb72
commit 3dc1f66ff6
2 changed files with 3 additions and 3 deletions

View File

@ -410,7 +410,7 @@ class FlattenedOHLC(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
# cache_mode: int = QGraphicsItem.NoCache
def draw_last_datum(
self,
@ -440,7 +440,7 @@ 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
# cache_mode: int = QGraphicsItem.NoCache
def declare_paintables(
self,

View File

@ -93,7 +93,7 @@ class BarItems(FlowGraphic):
'''
# XXX: causes this weird jitter bug when click-drag panning
# where the path curve will awkwardly flicker back and forth?
cache_mode: int = QGraphicsItem.NoCache
# cache_mode: int = QGraphicsItem.NoCache
def __init__(
self,