Skip to content

Commit

Permalink
add todo, #1624
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kauzmann <[email protected]>
  • Loading branch information
zepumph committed Mar 28, 2024
1 parent f59e371 commit 01b68e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/display/SVGGradientStop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SVGGradientStop implements TPoolable {
private colorListener!: () => void;

// As a workaround for Property deferment issues, we'll keep track of the last Color that we added a listener to, so
// that we can clean up things Property EVEN when we don't get correct Property change notifications.
// that we can clean up things Property EVEN when we don't get correct Property change notifications. TODO: remove in https://github.com/phetsims/scenery/issues/1624
private lastColor!: Color | null;

public constructor( svgGradient: ActiveSVGGradient, ratio: number, color: TColor ) {
Expand Down

0 comments on commit 01b68e4

Please sign in to comment.