Skip to content

Commit

Permalink
fix dynamic layout of Proportions graph, #347
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 31, 2023
1 parent b081391 commit cf9394a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/view/proportions/ProportionsGraphNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default class ProportionsGraphNode extends Node {
super( options );

// Center content on the background. Columns or generationSpinner may be hidden via PhET-iO. unlink is not necessary.
content.localBoundsProperty.link( () => {
content.boundsProperty.link( () => {
content.center = backgroundNode.center;
} );

Expand Down

0 comments on commit cf9394a

Please sign in to comment.