From fe9c8b99a7a32ee3687b647de54d0894602d5431 Mon Sep 17 00:00:00 2001 From: Daniel Shleifman Date: Thu, 3 Jun 2021 15:25:31 +0300 Subject: [PATCH] scroll message fix --- .../components/DialogTorrentDetailsContent/TorrentCache.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx b/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx index 2c7ce08..01fca10 100644 --- a/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx +++ b/web/src/components/DialogTorrentDetailsContent/TorrentCache.jsx @@ -43,6 +43,8 @@ const TorrentCache = memo( updateStageSettings(12, 2) }, [isMini, dimensions.width]) + console.log(dimensions.height) + const miniCacheMaxHeight = 340 const { boxHeight, strokeWidth, marginBetweenBlocks, stageOffset } = stageSettings @@ -66,8 +68,9 @@ const TorrentCache = memo( return ( setDimensions(bounds)}> {({ measureRef }) => ( -
+