Skip to content

Commit

Permalink
Remove strictAxonDependencies feature, see phetsims/axon#441
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jun 13, 2024
1 parent 340b591 commit 345399c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/ComboBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,17 +538,13 @@ export default class ComboBox<T> extends WidthSizable( Node ) {
} ) );
return DerivedProperty.deriveAny( widthProperties, () => {
return Math.max( ...nodes.map( node => isWidthSizable( node ) ? node.minimumWidth || 0 : node.width ) );
}, {
strictAxonDependencies: false //TODO https://github.com/phetsims/sun/issues/870
} );
}

public static getMaxItemHeightProperty( nodes: Node[] ): TReadOnlyProperty<number> {
const heightProperties = nodes.map( node => node.boundsProperty );
return DerivedProperty.deriveAny( heightProperties, () => {
return Math.max( ...nodes.map( node => node.height ) );
}, {
strictAxonDependencies: false //TODO https://github.com/phetsims/sun/issues/870
} );
}

Expand Down

0 comments on commit 345399c

Please sign in to comment.