Skip to content

Commit

Permalink
TODO #89
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 29, 2024
1 parent 3ffd260 commit e326cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/FELScreenIconFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const FELScreenIconFactory = {
const pickupCoilNode = createCoilNode( 2, 16 );

// Clip the top part of the wire ends, y-offset was set empirically.
//TODO https://github.com/phetsims/faradays-electromagnetic-lab/issues/28 clipArea is not working when returning to the Home screen.
//TODO https://github.com/phetsims/faradays-electromagnetic-lab/issues/89 clipArea is not working when returning to the Home screen.
pickupCoilNode.clipArea = Shape.bounds( pickupCoilNode.bounds.withMinY( pickupCoilNode.bounds.minY + 35 ) );

return new ScreenIcon( pickupCoilNode, {
Expand Down Expand Up @@ -87,7 +87,7 @@ const FELScreenIconFactory = {
} );

// Clip the top part of the wire ends, y-offset was set empirically.
//TODO https://github.com/phetsims/faradays-electromagnetic-lab/issues/28 clipArea is not working when returning to the Home screen.
//TODO https://github.com/phetsims/faradays-electromagnetic-lab/issues/89 clipArea is not working when returning to the Home screen.
hBox.clipArea = Shape.bounds( hBox.bounds.withMinY( hBox.bounds.minY + 35 ) );

return new ScreenIcon( hBox, {
Expand Down

0 comments on commit e326cb4

Please sign in to comment.