Add click switch to Indicator. Add scrollbar to HideScrollbar. Fix scroll down when horizontal scroll bug. Refactor the HideScrollbar. #22

Merged
FatttSnake merged 5 commits from FatttSnake into dev 2023-09-24 13:46:36 +08:00
Showing only changes of commit 6fc0df74fa - Show all commits

View File

@@ -72,7 +72,7 @@ const Home: React.FC = () => {
}
const handleWheel = (event: React.WheelEvent) => {
if (event.altKey || event.ctrlKey || event.shiftKey) {
if (event.altKey || event.ctrlKey || event.shiftKey || event.deltaY === 0) {
return
}