diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index a6e70240..a144d999 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -15,10 +15,10 @@ # along with this program. If not, see . """ -Chart view box primitives. +Chart view box primitives + """ from dataclasses import dataclass, field -from math import floor from typing import Optional, Dict import pyqtgraph as pg @@ -269,6 +269,9 @@ class LineEditor: exec_type='dark' if dotted else 'live', action=action, show_markers=True, + + # prevent flickering of marker while moving/tracking cursor + only_show_markers_on_hover=False, ) self._active_staged_line = line @@ -329,6 +332,9 @@ class LineEditor: color=line.color, dotted=line._dotted, + show_markers=True, + only_show_markers_on_hover=True, + action=action, )