Add menu control button #24

Merged
FatttSnake merged 2 commits from FatttSnake into dev 2023-09-25 18:49:08 +08:00
Showing only changes of commit 3d7e8722c2 - Show all commits

View File

@@ -376,7 +376,6 @@ const HideScrollbar = forwardRef<HideScrollbarElement, HideScrollbarProps>((prop
setVerticalScrollbarLength( setVerticalScrollbarLength(
(rootRef.current.clientHeight / (contentRef.current?.clientHeight ?? 0)) * 100 (rootRef.current.clientHeight / (contentRef.current?.clientHeight ?? 0)) * 100
) )
console.log(horizontalScrollbarLength)
rootRef.current && rootRef.current &&
setHorizontalScrollbarLength( setHorizontalScrollbarLength(