From 620e75517c7b56812a95fed45decb5b278bd7fd3 Mon Sep 17 00:00:00 2001 From: FlorianZahn Date: Sun, 3 Oct 2021 22:11:33 +0200 Subject: [PATCH] Now handeling deltaY=0 and shrunk down code --- src/components/SponsorTimeEditComponent.tsx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 7bafb9c9..4daabcdb 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -251,8 +251,8 @@ class SponsorTimeEditComponent extends React.Component= step){ timeAsNumber -= step; @@ -266,17 +266,6 @@ class SponsorTimeEditComponent extends React.Component 0) - { - return false; - } - } getCategoryOptions(): React.ReactElement[] { const elements = [(