diff --git a/src/ui/utils/timeline.ts b/src/ui/utils/timeline.ts index 2f68d7bb9bd..6ecddafe046 100644 --- a/src/ui/utils/timeline.ts +++ b/src/ui/utils/timeline.ts @@ -273,9 +273,7 @@ export function isFocusRegionSubset( prevFocusRegion: FocusRegion | null, nextFocusRegion: FocusRegion | null ): boolean { - if (prevFocusRegion === null && nextFocusRegion === null) { - return true; - } else if (prevFocusRegion === null) { + if (prevFocusRegion === null) { // Previously the entire timeline was selected. // No matter what the new focus region is, it will be a subset. return true;