Skip to content

Commit

Permalink
Overlay offset buttons should also be disabled during recording
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Feb 25, 2024
1 parent 772643b commit d6052eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension/src/ui/components/MobileVideoOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ const MobileVideoOverlay = () => {
return null;
}

const offsetToPreviousButtonDisabled = model.previousSubtitleTimestamp === undefined;
const offsetToNextButtonDisabled = model.nextSubtitleTimestamp === undefined;
const offsetToPreviousButtonDisabled = model.previousSubtitleTimestamp === undefined || model.recording;
const offsetToNextButtonDisabled = model.nextSubtitleTimestamp === undefined || model.recording;
const miningButtonDisabled = (!model.emptySubtitleTrack && !model.subtitleDisplaying) || model.recording;

function miningButtonTooltip(model: MobileOverlayModel) {
Expand Down

0 comments on commit d6052eb

Please sign in to comment.