diff --git a/src/components/tree/phyloTree/change.ts b/src/components/tree/phyloTree/change.ts index e07d5c743..0c586f7df 100644 --- a/src/components/tree/phyloTree/change.ts +++ b/src/components/tree/phyloTree/change.ts @@ -297,6 +297,7 @@ export const change = function change( svgHasChangedDimensions = false, animationInProgress = false, changeNodeOrder = false, + focus = false, newDistance = undefined, newLayout = undefined, updateLayout = undefined, @@ -309,7 +310,6 @@ export const change = function change( visibility = undefined, tipRadii = undefined, branchThickness = undefined, - focus = undefined, scatterVariables = undefined, performanceFlags = undefined, }: ChangeParams diff --git a/src/components/tree/phyloTree/types.ts b/src/components/tree/phyloTree/types.ts index da7bb5684..3ed139188 100644 --- a/src/components/tree/phyloTree/types.ts +++ b/src/components/tree/phyloTree/types.ts @@ -196,6 +196,7 @@ export interface ChangeParams { svgHasChangedDimensions?: boolean animationInProgress?: boolean changeNodeOrder?: boolean + focus?: boolean // change these things to provided value (unless undefined) // newDistance?: Distance @@ -214,7 +215,6 @@ export interface ChangeParams { branchThickness?: number[] // other data // - focus?: boolean scatterVariables?: ScatterVariables performanceFlags?: PerformanceFlags }