StateTimelinePanel: Fix duration on merged values (#58561)

Fix stateTimeline duration
This commit is contained in:
Victor Marin 2022-11-11 20:19:40 +02:00 committed by GitHub
parent d748979048
commit 79142340e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ export const addTooltipSupport = ({
}
config.addHook('setLegend', (u) => {
if (!isToolTipOpen.current) {
if (!isToolTipOpen.current && !tooltipInterpolator) {
setFocusedPointIdx(u.legend.idx!);
}
if (u.cursor.idxs != null) {