Closed pixelzoom closed 1 year ago
Fixed in the above commits. @samreid please review.
Summary:
homeScreenIcon
and navigationBarIcon
fields in Screen.tshomeScreenIcon
in Screen.tsI reviewed the commits, and everything looks good to me. Closing.
Noted while adding
dispose
to ScreenIcon in https://github.com/phetsims/joist/issues/901...In Screen.ts, ScreenOptions includes:
But then the fields in Screen are:
And then the default
homeScreenIcon
is not even a ScreenIcon`:So as soon as I add
dispose
to ScreenIcon, it's no longer structurally the same as Node, and a bunch of new tsc errors occurs, spanning multiple repos.It looks like @samreid converted Screen to TypeScript. I'll take a stab at fixing this, then will ask him to review.