forked from ddrilling/asb_cloud_front
Исправлена высота подсказки курсора для графиков мониторинга и архива
This commit is contained in:
parent
0e432df77c
commit
20f002111d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user