Skip to content

Commit

Permalink
remove ts-ignore related to UpdateState
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jun 7, 2022
1 parent 61d5f14 commit e445764
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/PhetButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ class PhetButton extends JoistButton {
const showHomeScreen = screen === sim.homeScreen;
const backgroundIsWhite = !backgroundFill.equals( Color.BLACK ) && !showHomeScreen;

// @ts-ignore
const outOfDate = updateState === UpdateState.OUT_OF_DATE;
menuIcon.fill = backgroundIsWhite ? ( outOfDate ? '#0a0' : '#222' ) : ( outOfDate ? '#3F3' : 'white' );
logoImage.image = backgroundIsWhite ? logoOnWhiteBackground : logoOnBlackBackground;
Expand Down

0 comments on commit e445764

Please sign in to comment.