Исправлена высота подсказки курсора для графиков мониторинга и архива

This commit is contained in:
ts_salikhov 2022-08-19 13:16:46 +04:00
parent 0e432df77c
commit 20f002111d

View File

@ -139,7 +139,7 @@ const _D3HorizontalCursor = <DataType,>({
if (!mouseState.visible || fixed) return
let top = mouseState.y + offsetY
if (top + height / 2 >= sizes.chartsHeight) {
if (mouseState.y >= sizes.chartsHeight / 2) {
setPosition('bottom')
top = mouseState.y - offsetY - height
} else {