From 4d09a603fe3bdc689de82b6e529b69b9c9a7c34d Mon Sep 17 00:00:00 2001 From: opl- Date: Sat, 23 Oct 2021 00:52:52 +0200 Subject: [PATCH] Fix mouse wheel can enter edit mode --- src/components/SponsorTimeEditComponent.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index d67d9d83..6a1b006f 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -152,8 +152,7 @@ class SponsorTimeEditComponent extends React.Component + onClick={this.toggleEditTime.bind(this)}> {utils.getFormattedTime(segment[0], true) + ((!isNaN(segment[1]) && getCategoryActionType(sponsorTime.category) === CategoryActionType.Skippable) ? " " + chrome.i18n.getMessage("to") + " " + utils.getFormattedTime(segment[1], true) : "")}