Skip to content

Commit

Permalink
Rename rasterized => rasterizeNode, see scenerystack/scenerystack#43
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Feb 11, 2025
1 parent 3f0083f commit b0fb068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/charges-and-fields/view/ChargesAndFieldsToolboxPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import Node from '../../../../scenery/js/nodes/Node.js';
import Path from '../../../../scenery/js/nodes/Path.js';
import Rectangle from '../../../../scenery/js/nodes/Rectangle.js';
import Text from '../../../../scenery/js/nodes/Text.js';
import { rasterized } from '../../../../scenery/js/util/rasterized.js';
import { rasterizeNode } from '../../../../scenery/js/util/rasterizeNode.js';
import Panel from '../../../../sun/js/Panel.js';
import electricPotentialPanelOutline_png from '../../../mipmaps/electricPotentialPanelOutline_png.js';
import chargesAndFields from '../../chargesAndFields.js';
Expand Down Expand Up @@ -236,7 +236,7 @@ class ChargesAndFieldsToolboxPanel extends Panel {
const measuringTapeIcon = new Node( { children: [ measuringTape ] } );

// Create the measuringTape icon using rasterized
measuringTapeIcon.children = [ rasterized( measuringTape, {
measuringTapeIcon.children = [ rasterizeNode( measuringTape, {
nodeOptions: {
cursor: 'pointer',
tandem: tandem.createTandem( 'measuringTapeIconImage' )
Expand Down

0 comments on commit b0fb068

Please sign in to comment.