Skip to content

Commit

Permalink
Removed unrelated change to timeline isFocusRegionSubset
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn committed May 31, 2022
1 parent fe4c659 commit 2e267b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ui/utils/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e267b4

Please sign in to comment.